-
Notifications
You must be signed in to change notification settings - Fork 2
/
rss20.xml.tmpl
executable file
·32 lines (29 loc) · 1018 Bytes
/
rss20.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
<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title><TMPL_VAR name></title>
<link><TMPL_VAR link ESCAPE="HTML"></link>
<language>en</language>
<description><TMPL_VAR name> - <TMPL_VAR link ESCAPE="HTML"></description>
<TMPL_LOOP Items>
<item>
<title><TMPL_VAR channel_name><TMPL_IF title>: <TMPL_VAR title></TMPL_IF></title>
<guid><TMPL_VAR id ESCAPE="HTML"></guid>
<link><TMPL_VAR link ESCAPE="HTML"></link>
<TMPL_IF content>
<description>
<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"></description>
</TMPL_IF>
<pubDate><TMPL_VAR date_822></pubDate>
<TMPL_IF author>
<dc:creator><TMPL_VAR author></dc:creator>
</TMPL_IF>
</item>
</TMPL_LOOP>
</channel>
</rss>