]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/rssitem.tmpl
remove bogus test for empty page
[git.ikiwiki.info.git] / templates / rssitem.tmpl
index 4e202026910005ce740c889b0555961a29ad3a34..a64a4ebd79273ceac6c62081efee655e40b9c449 100644 (file)
@@ -1,26 +1,29 @@
 <item>
-       <TMPL_IF NAME="AUTHOR">
+<TMPL_IF AUTHOR>
        <title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE></title>
        <dcterms:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dcterms:creator>
-       <TMPL_ELSE>
+<TMPL_ELSE>
        <title><TMPL_VAR TITLE></title>
-       </TMPL_IF>
-       <TMPL_IF NAME="UUID">
-         <guid isPermaLink="no"><TMPL_VAR UUID></guid>
-       <TMPL_ELSE>
-         <guid><TMPL_VAR URL></guid>
-       </TMPL_IF>
+</TMPL_IF>
+<TMPL_IF GUID>
+       <guid isPermaLink="no"><TMPL_VAR GUID></guid>
+<TMPL_ELSE>
+       <guid><TMPL_VAR URL></guid>
+</TMPL_IF>
        <link><TMPL_VAR PERMALINK></link>
-       <TMPL_IF NAME="CATEGORIES">
-       <TMPL_LOOP NAME="CATEGORIES">
+<TMPL_IF CATEGORIES>
+<TMPL_LOOP CATEGORIES>
        <category><TMPL_VAR CATEGORY></category>
-       </TMPL_LOOP>
-       </TMPL_IF>
+</TMPL_LOOP>
+</TMPL_IF>
        <pubDate><TMPL_VAR CDATE_822></pubDate>
        <dcterms:modified><TMPL_VAR MDATE_3339></dcterms:modified>
-       <TMPL_IF NAME="ENCLOSURE">
+<TMPL_IF ENCLOSURE>
        <enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" />
-       <TMPL_ELSE>
-       <description><![CDATA[<TMPL_VAR CONTENT>]]></description>
-       </TMPL_IF>
+<TMPL_ELSE>
+       <description><TMPL_VAR CONTENT ESCAPE=HTML></description>
+</TMPL_IF>
+<TMPL_IF COMMENTSURL>
+       <comments><TMPL_VAR COMMENTSURL></comments>
+</TMPL_IF>
 </item>