]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - templates/atomitem.tmpl
web commit by http://smcv.pseudorandom.co.uk/
[git.ikiwiki.info.git] / templates / atomitem.tmpl
1 <entry>
2         <title><TMPL_VAR TITLE></title>
3         <TMPL_IF NAME="GUID">
4           <id><TMPL_VAR GUID></id>
5         <TMPL_ELSE>
6           <id><TMPL_VAR URL></id>
7         </TMPL_IF>
8         <link href="<TMPL_VAR PERMALINK>"/>
9         <TMPL_IF NAME="AUTHOR">
10          <author><name><TMPL_VAR AUTHOR ESCAPE=HTML></name></author>
11         </TMPL_IF>
12         <TMPL_IF NAME="COPYRIGHT">
13          <rights type="xhtml" xml:lang="en">
14           <div xmlns="http://www.w3.org/1999/xhtml">
15            <TMPL_IF NAME="LICENSE">
16             <TMPL_VAR LICENSE>
17             <TMPL_VAR COPYRIGHT>
18            <TMPL_ELSE>
19             <TMPL_VAR COPYRIGHT>
20            </TMPL_IF>
21           </div>
22          </rights>
23         <TMPL_ELSE>
24          <TMPL_IF NAME="LICENSE">
25           <rights type="xhtml" xml:lang="en">
26            <div xmlns="http://www.w3.org/1999/xhtml">
27             <TMPL_VAR LICENSE>
28            </div>
29           </rights>
30          </TMPL_IF>
31         </TMPL_IF>
32         <TMPL_IF NAME="CATEGORIES">
33          <TMPL_LOOP NAME="CATEGORIES">
34           <category term="<TMPL_VAR CATEGORY>" />
35          </TMPL_LOOP>
36         </TMPL_IF>
37         <updated><TMPL_VAR MDATE_3339></updated>
38         <published><TMPL_VAR CDATE_3339></published>
39         <TMPL_IF NAME="ENCLOSURE">
40          <link rel="enclosure" type="<TMPL_VAR TYPE>" href="<TMPL_VAR ENCLOSURE>" length="<TMPL_VAR LENGTH>" />
41         <TMPL_ELSE>
42          <content type="xhtml" xml:lang="en">
43           <div xmlns="http://www.w3.org/1999/xhtml">
44           <TMPL_VAR CONTENT>
45           </div>
46          </content>
47         </TMPL_IF>
48 </entry>