]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/rsspage.tmpl
Merge branch 'master' into debian-jessie-backports
[git.ikiwiki.info.git] / templates / rsspage.tmpl
index 4fe15d49116824b3cddff7218648c69859b7795e..d07ecefc3ef71bb8ed52af5d2a46d06910e95ae2 100644 (file)
@@ -1,21 +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>
-                       <TMPL_IF NAME="ITEMGUID">
-                       <guid isPermaLink="false"><TMPL_VAR ITEMGUID></guid>
-                       <TMPL_ELSE>
-                       <guid><TMPL_VAR ITEMURL></guid>
-                       </TMPL_IF>
-                       <link><TMPL_VAR ITEMURL></link>
-                       <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>