]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/rsspage.tmpl
search: add more classes as a hook for CSS. Thanks, sajolida
[git.ikiwiki.info.git] / templates / rsspage.tmpl
index cbfeb547156078aa452fea49e6089a31ca7bb4b5..45265f2654d0c5a1b16156b7e65b49254654faf3 100644 (file)
@@ -1,21 +1,16 @@
 <?xml version="1.0"?>
 <?xml version="1.0"?>
-<rss version="2.0">
-       <channel>
-               <title><TMPL_VAR TITLE ESCAPE=HTML></title>
-               <link><TMPL_VAR PAGEURL></link>
-               <description><TMPL_VAR TITLE 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/" >
+<channel>
+<title><TMPL_VAR TITLE></title>
+<link><TMPL_VAR PAGEURL></link>
+<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>
 </rss>