]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/rssitem.tmpl
fix rcs_add() of a text file under a name that had been a binary file
[git.ikiwiki.info.git] / templates / rssitem.tmpl
index 421600591ea50189a2e38a06b4d3a13003df2444..831daa871d11369b7b5c532014fbfab2b478c550 100644 (file)
@@ -1,12 +1,29 @@
 <item>
-       <title><TMPL_VAR TITLE ESCAPE=HTML></title>
-       <guid><TMPL_VAR URL></guid>
-       <link><TMPL_VAR URL></link>
-       <TMPL_IF NAME="CATEGORIES">
-       <TMPL_LOOP NAME="CATEGORIES">
-       <category><TMPL_VAR NAME=CATEGORY></category>
-       </TMPL_LOOP>
-       </TMPL_IF>
-       <pubDate><TMPL_VAR PUBDATE></pubDate>
-       <description><![CDATA[<TMPL_VAR CONTENT>]]></description>
+<TMPL_IF AUTHOR>
+       <title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE></title>
+       <dcterms:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dcterms:creator>
+<TMPL_ELSE>
+       <title><TMPL_VAR TITLE></title>
+</TMPL_IF>
+<TMPL_IF GUID>
+       <guid isPermaLink="false"><TMPL_VAR GUID></guid>
+<TMPL_ELSE>
+       <guid isPermaLink="false"><TMPL_VAR URL></guid>
+</TMPL_IF>
+       <link><TMPL_VAR PERMALINK></link>
+<TMPL_IF CATEGORIES>
+<TMPL_LOOP CATEGORIES>
+       <category><TMPL_VAR CATEGORY></category>
+</TMPL_LOOP>
+</TMPL_IF>
+       <pubDate><TMPL_VAR CDATE_822></pubDate>
+       <dcterms:modified><TMPL_VAR MDATE_3339></dcterms:modified>
+<TMPL_IF ENCLOSURE>
+       <enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" />
+<TMPL_ELSE>
+       <description><TMPL_VAR CONTENT ESCAPE=HTML></description>
+</TMPL_IF>
+<TMPL_IF COMMENTSURL>
+       <comments><TMPL_VAR COMMENTSURL></comments>
+</TMPL_IF>
 </item>