]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/rsspage.tmpl
fixes, and make dir optional
[git.ikiwiki.info.git] / templates / rsspage.tmpl
index cbfeb547156078aa452fea49e6089a31ca7bb4b5..55b1222ac51141de950f6022bacc44609cde65b0 100644 (file)
@@ -3,16 +3,17 @@
        <channel>
                <title><TMPL_VAR TITLE ESCAPE=HTML></title>
                <link><TMPL_VAR PAGEURL></link>
-               <description><TMPL_VAR TITLE ESCAPE=HTML></description>
+               <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>
+                       <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>