]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/rsspage.tmpl
(no commit message)
[git.ikiwiki.info.git] / templates / rsspage.tmpl
index 55b1222ac51141de950f6022bacc44609cde65b0..d07ecefc3ef71bb8ed52af5d2a46d06910e95ae2 100644 (file)
@@ -1,22 +1,18 @@
 <?xml version="1.0"?>
-<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>
 </rss>