merge change to basewiki
[ikiwiki] / templates / atomitem.tmpl
1 <entry>
2         <title><TMPL_VAR TITLE ESCAPE=HTML></title>
3         <TMPL_IF NAME="AUTHOR">
4         <author><TMPL_VAR AUTHOR ESCAPE=HTML></author>
5         <TMPL_ELSE>
6         </TMPL_IF>
7         <id><TMPL_VAR URL></id>
8         <link href="<TMPL_VAR PERMALINK>"/>
9         <TMPL_IF NAME="CATEGORIES">
10         <TMPL_LOOP NAME="CATEGORIES">
11         <category><TMPL_VAR CATEGORY></category>
12         </TMPL_LOOP>
13         </TMPL_IF>
14         <updated><TMPL_VAR DATE_3339></updated>
15         <TMPL_IF NAME="ENCLOSURE">
16         <link rel="enclosure" type="<TMPL_VAR TYPE>" href="<TMPL_VAR ENCLOSURE>" length="<TMPL_VAR LENGTH>" />
17         <TMPL_ELSE>
18         <content type="xhtml" xml:lang="en">
19          <div xmlns="http://www.w3.org/1999/xhtml">
20          ![CDATA[<TMPL_VAR CONTENT>]]
21          </div>
22         </content>
23         </TMPL_IF>
24 </entry>