]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - templates/atomitem.tmpl
blogspam uses JSON instead of RPC::XML now.
[git.ikiwiki.info.git] / templates / atomitem.tmpl
1 <entry>
2         <title><TMPL_VAR TITLE></title>
3 <TMPL_IF 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 AUTHOR>
10         <author><name><TMPL_VAR AUTHOR ESCAPE=HTML></name></author>
11 </TMPL_IF>
12 <TMPL_IF COPYRIGHT>
13         <rights type="html" xml:lang="en">
14 <TMPL_IF LICENSE>
15                 <TMPL_VAR LICENSE ESCAPE=HTML>
16                 <TMPL_VAR COPYRIGHT ESCAPE=HTML>
17 <TMPL_ELSE>
18                 <TMPL_VAR COPYRIGHT ESCAPE=HTML>
19 </TMPL_IF>
20         </rights>
21 <TMPL_ELSE>
22 <TMPL_IF LICENSE>
23         <rights type="html" xml:lang="en">
24         <TMPL_VAR LICENSE ESCAPE=HTML>
25         </rights>
26 </TMPL_IF>
27 </TMPL_IF>
28 <TMPL_IF CATEGORIES>
29 <TMPL_LOOP CATEGORIES>
30         <category term="<TMPL_VAR CATEGORY>" />
31 </TMPL_LOOP>
32 </TMPL_IF>
33         <updated><TMPL_VAR MDATE_3339></updated>
34         <published><TMPL_VAR CDATE_3339></published>
35 <TMPL_IF ENCLOSURE>
36         <link rel="enclosure" type="<TMPL_VAR TYPE>" href="<TMPL_VAR ENCLOSURE>" length="<TMPL_VAR LENGTH>" />
37 </TMPL_IF>
38 <TMPL_UNLESS SIMPLEPODCAST>
39         <content type="html" xml:lang="en">
40         <TMPL_VAR CONTENT ESCAPE=HTML>
41         </content>
42 </TMPL_UNLESS>
43 <TMPL_IF COMMENTSURL>
44         <link rel="comments" href="<TMPL_VAR COMMENTSURL>" type="text/html" />
45 </TMPL_IF>
46 <TMPL_IF ATOMCOMMENTSURL>
47         <link rel="comments" href="<TMPL_VAR ATOMCOMMENTSURL>" type="application/atom+xml" />
48 </TMPL_IF>
49 </entry>