Add atom feed
[deb/hackedgotchi.git] / templates / atom.xml.tmpl
1 <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
2 <feed xmlns="http://www.w3.org/2005/Atom">
3
4         <title><TMPL_VAR name></title>
5         <link rel="self" href="<TMPL_VAR feed ESCAPE="HTML">"/>
6         <link href="<TMPL_VAR link ESCAPE="HTML">"/>
7         <id><TMPL_VAR feed ESCAPE="HTML"></id>
8         <updated><TMPL_VAR date_iso></updated>
9         <generator uri="http://www.intertwingly.net/code/venus/"><TMPL_VAR generator ESCAPE="HTML"></generator>
10
11 <TMPL_LOOP Items>
12         <entry<TMPL_IF channel_language> xml:lang="<TMPL_VAR channel_language>"</TMPL_IF>>
13                 <title type="html"<TMPL_IF title_language> xml:lang="<TMPL_VAR title_language>"</TMPL_IF>><TMPL_VAR title ESCAPE="HTML"></title>
14                 <link href="<TMPL_VAR link ESCAPE="HTML">"/>
15                 <id><TMPL_VAR id ESCAPE="HTML"></id>
16                 <updated><TMPL_VAR date_iso></updated>
17                 <summary type="html"<TMPL_IF summary_language> xml:lang="<TMPL_VAR summary_language>"</TMPL_IF>><TMPL_VAR summary ESCAPE="HTML"></summary>
18                 <content type="html"<TMPL_IF content_language> xml:lang="<TMPL_VAR content_language>"</TMPL_IF>><TMPL_VAR content ESCAPE="HTML"></content>
19                 <author>
20 <TMPL_IF author_name>
21                         <name><TMPL_VAR author_name ESCAPE="HTML"></name>
22 <TMPL_IF author_email>
23                         <email><TMPL_VAR author_email ESCAPE="HTML"></email>
24 </TMPL_IF author_email>
25 <TMPL_ELSE>
26 <TMPL_IF channel_author_name>
27                         <name><TMPL_VAR channel_author_name ESCAPE="HTML"></name>
28 <TMPL_IF channel_author_email>
29                         <email><TMPL_VAR channel_author_email ESCAPE="HTML"></email>
30 </TMPL_IF channel_author_email>
31 <TMPL_ELSE>
32                         <name><TMPL_VAR channel_name ESCAPE="HTML"></name>
33 </TMPL_IF>
34 </TMPL_IF>
35                         <uri><TMPL_VAR channel_link ESCAPE="HTML"></uri>
36                 </author>
37                 <source>
38 <TMPL_IF channel_title>
39                         <title type="html"><TMPL_VAR channel_title ESCAPE="HTML"></title>
40 <TMPL_ELSE>
41                         <title type="html"><TMPL_VAR channel_name ESCAPE="HTML"></title>
42 </TMPL_IF>
43 <TMPL_IF channel_subtitle>
44                         <subtitle type="html"><TMPL_VAR channel_subtitle ESCAPE="HTML"></subtitle>
45 </TMPL_IF>
46                         <link rel="self" href="<TMPL_VAR channel_url ESCAPE="HTML">"/>
47 <TMPL_IF channel_id>
48                         <id><TMPL_VAR channel_id ESCAPE="HTML"></id>
49 <TMPL_ELSE>
50                         <id><TMPL_VAR channel_url ESCAPE="HTML"></id>
51 </TMPL_IF>
52 <TMPL_IF channel_updated_iso>
53                         <updated><TMPL_VAR channel_updated_iso></updated>
54 </TMPL_IF>
55 <TMPL_IF channel_rights>
56                         <rights type="html"><TMPL_VAR channel_rights ESCAPE="HTML"></rights>
57 </TMPL_IF>
58                 </source>
59         </entry>
60
61 </TMPL_LOOP>
62 </feed>