autoindex: Switch to using %wikistate instead of abusing $pagestate{index}.
[ikiwiki] / templates / rssitem.tmpl
1 <item>
2 <TMPL_IF NAME="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 NAME="GUID">
9         <guid isPermaLink="no"><TMPL_VAR GUID></guid>
10 <TMPL_ELSE>
11         <guid><TMPL_VAR URL></guid>
12 </TMPL_IF>
13         <link><TMPL_VAR PERMALINK></link>
14 <TMPL_IF NAME="CATEGORIES">
15 <TMPL_LOOP NAME="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 NAME="ENCLOSURE">
22         <enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" />
23 <TMPL_ELSE>
24         <description><TMPL_VAR CONTENT ESCAPE=HTML></description>
25 </TMPL_IF>
26 <TMPL_IF NAME="COMMENTSURL">
27         <comments><TMPL_VAR NAME="COMMENTSURL"></comments>
28 </TMPL_IF>
29 </item>