1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <rss version=
"2.0" xml:
base=
"[% c.req.base %]" xmlns:
dc=
"http://purl.org/dc/elements/1.1/">
4 <title>[% c.config.title %]
</title>
5 <description>[% feed.description || c.config.description %]
</description>
6 <link>[% c.req.base %]
</link>
7 <language>[% c.language %]
</language>
8 <lastBuildDate>[% feed.lastBuildDate %]
</lastBuildDate>
9 [% FOREACH item IN feed.items %]
11 <title>[% item.title | html %]
</title>
12 <description>[% item.description | html %]
</description>
13 [%- FOREACH category IN item.category %]
14 <category>[% category.name %]
</category>
16 <pubDate>[% item.pubDate %]
</pubDate>
17 <guid>[% item.link %]
</guid>
18 <link>[% item.link %]
</link>
19 [%- IF item.comments %]
<comments>[% item.comments %]
</comments>[% END -%]
20 <dc:creator>[% item.author %]
</dc:creator>