aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-02-22 12:54:16 -0500
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-02-22 12:54:16 -0500
commit4b6ea05ac87f5085e4df5c2ebc3d1a17a6cd2397 (patch)
treed98bf2be1471e8e49d872d463b1d131ec8942b38 /templates
parent59b597ec84bd9b8fb5bb33deb8464b86b812c300 (diff)
downloadikiwiki-4b6ea05ac87f5085e4df5c2ebc3d1a17a6cd2397.tar
ikiwiki-4b6ea05ac87f5085e4df5c2ebc3d1a17a6cd2397.tar.gz
Catch up rsspage to atompage. Validates.
Diffstat (limited to 'templates')
-rw-r--r--templates/rsspage.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/rsspage.tmpl b/templates/rsspage.tmpl
index e54094aaa..fec6775c2 100644
--- a/templates/rsspage.tmpl
+++ b/templates/rsspage.tmpl
@@ -1,11 +1,18 @@
<?xml version="1.0"?>
<rss version="2.0"
+ xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/" >
<channel>
<title><TMPL_VAR TITLE></title>
<link><TMPL_VAR PAGEURL></link>
+<atom:link href="<TMPL_VAR FEEDURL>" rel="self" type="application/rss+xml" />
+<TMPL_IF COPYRIGHT>
+<copyright><TMPL_VAR COPYRIGHT ESCAPE=HTML></copyright>
+</TMPL_IF>
<description><TMPL_VAR FEEDDESC ESCAPE=HTML></description>
+<generator>ikiwiki</generator>
+<pubDate><TMPL_VAR FEEDDATE_822></pubDate>
<TMPL_VAR CONTENT>
</channel>
</rss>