Changeset 1169 for lang/haskell
- Timestamp:
- 11/06/07 11:07:42 (13 months ago)
- Location:
- lang/haskell/blosxkel
- Files:
-
- 2 modified
-
blosxkel.hs (modified) (3 diffs)
-
head.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/haskell/blosxkel/blosxkel.hs
r1165 r1169 8 8 import System.Time 9 9 import System.Locale (defaultTimeLocale) 10 11 import System.Info 12 import Data.Version 10 13 11 14 import Data.List … … 113 116 ; entries <- getTextFileEntries $ getConfig config "data-dir" 114 117 ; ct <- fill "content_type" [] 115 ; ch <- fill "head" [] 118 ; ch <- fill "head" [("lastupdate", strfctime "%Y-%m-%dT%H:%M:%SZ" 119 (time $ maximumBy (\a b -> compare (time a) (time b)) entries))] 116 120 ; cs <- mapM 117 121 (\e -> fill "story" … … 139 143 (params ++ [("title" , getConfig config "title"), 140 144 ("author" , getConfig config "author"), 141 ("version", "How do I get this version of GHC in program?")] ++ cgiparams)145 ("version", unwords [os, arch, compilerName, showVersion compilerVersion])] ++ cgiparams) 142 146 143 147 cgiMain :: CGI CGIResult -
lang/haskell/blosxkel/head.xml
r1165 r1169 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <feed xmlns="http://www.w3.org/2005/Atom"> 3 <title>$title</title>4 <link href="$servername$home$pathinfo"/>5 <updated>2003-12-13T18:30:02Z</updated>6 <author>7 <name>$author</name>8 </author>9 <id>$serverroot$home$pathinfo</id>3 <title>$title</title> 4 <link href="$servername$home$pathinfo"/> 5 <updated>$lastupdate</updated> 6 <author> 7 <name>$author</name> 8 </author> 9 <id>$servername$home$pathinfo</id> 10 10 11 11
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)