summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar Andy Wingo2008-02-27 22:34:01 +0100
committerGravatar Andy Wingo2008-02-27 22:34:01 +0100
commit93605cf634470c0b5034fd294f6e484e9762eca3 (patch)
tree64210ed504d00e84f4b9010751d7f921996e1b50
parentbf21a8a3c04c2b2f57244ebd5a3dd33111d08dea (diff)
downloadtekuti-93605cf634470c0b5034fd294f6e484e9762eca3.tar.gz
tekuti-93605cf634470c0b5034fd294f6e484e9762eca3.zip
more atom fixen
-rw-r--r--tekuti/page.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/tekuti/page.scm b/tekuti/page.scm
index ab4871a..34c86c8 100644
--- a/tekuti/page.scm
+++ b/tekuti/page.scm
@@ -418,9 +418,11 @@
`(entry
(author (name ,*name*) (uri ,(relurl "")))
(title (@ (type "text")) ,(assq-ref post 'title))
- (id ,(assq-ref post 'key))
+ (id ,(relurl (url:decode (assq-ref post 'key)))) ;hack
(published ,(timestamp->atom-date
(assq-ref post 'timestamp)))
+ (updated ,(timestamp->atom-date
+ (assq-ref post 'timestamp)))
(content (@ (type "xhtml"))
(div (@ (xmlns "http://www.w3.org/1999/xhtml"))
,(post-sxml-content post)))))