-<rss version="2.0">
- <channel>
- <title><TMPL_VAR TITLE ESCAPE=HTML></title>
- <link><TMPL_VAR PAGEURL></link>
- <description><TMPL_VAR WIKINAME ESCAPE=HTML></description>
- <TMPL_LOOP NAME="ITEMS">
- <item>
- <title><TMPL_VAR ITEMTITLE ESCAPE=HTML></title>
- <guid><TMPL_VAR ITEMURL></guid>
- <link><TMPL_VAR ITEMURL></link>
- <TMPL_IF NAME="CATEGORIES">
- <TMPL_LOOP NAME="CATEGORIES">
- <category><TMPL_VAR NAME=CATEGORY></category>
- </TMPL_LOOP>
- </TMPL_IF>
- <pubDate><TMPL_VAR ITEMPUBDATE></pubDate>
- <description><![CDATA[<TMPL_VAR ITEMCONTENT>]]></description>
- </item>
- </TMPL_LOOP>
- </channel>
+<rss version="2.0"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:dcterms="http://purl.org/dc/terms/"
+ xmlns:atom="http://www.w3.org/2005/Atom">
+<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>