summaryrefslogtreecommitdiff
path: root/data/templates/rss.xml
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-03-08 21:42:56 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-03-08 21:42:56 +0100
commit45459c3a2086aa47f35b90ecc5e658fdc72e7982 (patch)
tree2f0598c3aea058ebff9029dd8b55f1ec9907c36e /data/templates/rss.xml
parent64b640f97d00c119ef4ed4c8ccf8e588226bfcad (diff)
downloadhakyll-45459c3a2086aa47f35b90ecc5e658fdc72e7982.tar.gz
Added renderAtom, feeds now validate.
Diffstat (limited to 'data/templates/rss.xml')
-rw-r--r--data/templates/rss.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/templates/rss.xml b/data/templates/rss.xml
index 3a58d08..cbf0b16 100644
--- a/data/templates/rss.xml
+++ b/data/templates/rss.xml
@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="utf8"?>
-<rss version="2.0">
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>$title</title>
<link>$absolute</link>
<description>$description</description>
+ <atom:link href="$absolute/$url" rel="self"
+ type="application/rss+xml" />
+ <lastBuildDate>$timestamp</lastBuildDate>
$body
</channel>
</rss>