]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/rssitem.tmpl
web commit by http://arpitjain11.myopenid.com/
[ikiwiki.git] / templates / rssitem.tmpl
index bfd38ec3154fb53ccb87126c6a334082b4ee7086..c243b74b3b140fcc5975f58d3be468d59942c751 100644 (file)
@@ -1,9 +1,9 @@
 <item>
        <TMPL_IF NAME="AUTHOR">
 <item>
        <TMPL_IF NAME="AUTHOR">
-       <title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE ESCAPE=HTML></title>
+       <title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE></title>
        <dc:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dc:creator>
        <TMPL_ELSE>
        <dc:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dc:creator>
        <TMPL_ELSE>
-       <title><TMPL_VAR TITLE ESCAPE=HTML></title>
+       <title><TMPL_VAR TITLE></title>
        </TMPL_IF>
        <guid><TMPL_VAR URL></guid>
        <link><TMPL_VAR PERMALINK></link>
        </TMPL_IF>
        <guid><TMPL_VAR URL></guid>
        <link><TMPL_VAR PERMALINK></link>
@@ -13,5 +13,9 @@
        </TMPL_LOOP>
        </TMPL_IF>
        <pubDate><TMPL_VAR DATE_822></pubDate>
        </TMPL_LOOP>
        </TMPL_IF>
        <pubDate><TMPL_VAR DATE_822></pubDate>
+       <TMPL_IF NAME="ENCLOSURE">
+       <enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" />
+       <TMPL_ELSE>
        <description><![CDATA[<TMPL_VAR CONTENT>]]></description>
        <description><![CDATA[<TMPL_VAR CONTENT>]]></description>
+       </TMPL_IF>
 </item>
 </item>