* Patch from James Westby to support podcasting, photoblogging, vidcasting,
[ikiwiki.git] / templates / rssitem.tmpl
index c7e587e1c7d6121f2474019d7f649c50f68b7fe7..0fab42e710ba3689668fbc4f49e2fcbe192195c0 100644 (file)
        <category><TMPL_VAR CATEGORY></category>
        </TMPL_LOOP>
        </TMPL_IF>
-       <pubDate><TMPL_VAR PUBDATE></pubDate>
+       <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>
+       </TMPL_IF>
 </item>