-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathatom.xml.tmpl
executable file
·36 lines (33 loc) · 1.24 KB
/
atom.xml.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><TMPL_VAR name></title>
<!--<link rel="self" type="text/atom" href=""/>-->
<link rel="alternate" type="text/html" href="<TMPL_VAR link ESCAPE="HTML">"/>
<id></id>
<updated><TMPL_VAR date_iso></updated>
<generator uri="http://www.planetplanet.org/"><TMPL_VAR generator ESCAPE="HTML"></generator>
<TMPL_LOOP Items>
<entry>
<title><TMPL_VAR channel_name><TMPL_IF title>: <TMPL_VAR title></TMPL_IF></title>
<link rel="alternate" type="text/html" href="<TMPL_VAR link ESCAPE="HTML">"/>
<id><TMPL_VAR id ESCAPE="HTML"></id>
<updated><TMPL_VAR date_iso></updated>
<content type="html">
<TMPL_IF channel_face ESCAPE="HTML">
<img src="http://planet.ubuntu-it.org/images/<TMPL_VAR channel_face>" alt="" align="right">
<TMPL_ELSE ESCAPE="HTML">
<img src="http://planet.ubuntu-it.org/images/nobody.png" alt="" align="right">
</TMPL_IF>
<TMPL_VAR content ESCAPE="HTML">
</content>
<author>
<TMPL_IF author>
<name><TMPL_VAR author></name>
<TMPL_ELSE>
<name><TMPL_VAR channel_name></name>
</TMPL_IF>
<uri><TMPL_VAR channel_link></uri>
</author>
</entry>
</TMPL_LOOP>
</feed>