fix atom feed generation
This commit is contained in:
parent
e399b6063a
commit
6e4082c7cb
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
|||
"Render the default RSS and ATOM feeds along with any TAG-FEEDS."
|
||||
(let ((posts (by-date (find-all 'post))))
|
||||
(dolist (feed '((:path "rss.xml" :template :rss-feed)
|
||||
(:path "feed.atom" :template :atom-feed)))
|
||||
(:path "atom.xml" :template :atom-feed)))
|
||||
(apply #'render-feed posts feed))
|
||||
(dolist (feed tag-feeds)
|
||||
(apply #'render-feed posts (list :path (format nil "~A-rss.xml" feed)
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<name>{$config.author}</name>
|
||||
<uri>{$config.domain}</uri>
|
||||
</author>
|
||||
<content type="html">{$post.text |noAutoescape}</content>
|
||||
<content type="html">{$post.text |escapeHtml}</content>
|
||||
</entry>
|
||||
{/foreach}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue