Render fancy podcast enclosures.
[ikiwiki] / templates / rssitem.tmpl
1 <item>
2 <TMPL_IF AUTHOR>
3         <title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE></title>
4         <dcterms:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dcterms:creator>
5 <TMPL_ELSE>
6         <title><TMPL_VAR TITLE></title>
7 </TMPL_IF>
8 <TMPL_IF GUID>
9         <guid isPermaLink="false"><TMPL_VAR GUID></guid>
10 <TMPL_ELSE>
11         <guid isPermaLink="false"><TMPL_VAR URL></guid>
12 </TMPL_IF>
13         <link><TMPL_VAR PERMALINK></link>
14 <TMPL_IF CATEGORIES>
15 <TMPL_LOOP CATEGORIES>
16         <category><TMPL_VAR CATEGORY></category>
17 </TMPL_LOOP>
18 </TMPL_IF>
19         <pubDate><TMPL_VAR CDATE_822></pubDate>
20         <dcterms:modified><TMPL_VAR MDATE_3339></dcterms:modified>
21 <TMPL_IF ENCLOSURE>
22         <enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" />
23 </TMPL_IF>
24 <TMPL_UNLESS SIMPLEPODCAST>
25         <description><TMPL_VAR CONTENT ESCAPE=HTML></description>
26 </TMPL_UNLESS>
27 <TMPL_IF COMMENTSURL>
28         <comments><TMPL_VAR COMMENTSURL></comments>
29 </TMPL_IF>
30 </item>