1 <?xml version="1.0" encoding="UTF-8"?>
4 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
5 xmlns="http://purl.org/rss/1.0/"
6 xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/"
7 xmlns:dc="http://purl.org/dc/elements/1.1/"
8 xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
9 xmlns:admin="http://webns.net/mvcb/"
12 [%- root_url = "$packages_homepage$suite/";
13 SET root_url = "$root_url$section/" IF section -%]
15 <channel rdf:about="[% root_url %]newpkg">
16 <title>New [% organisation %] Packages</title>
17 <link>[% root_url %]newpkg</link>
18 <description>Packages that were added to the [% suite %] [% organisation %] archive [% " (section \"$section\")" IF section %] during the last 7 days.</description>
19 <dc:language>en</dc:language>
20 <dc:rights>Copyright [% timestamp.year %], [% copyright.name %]</dc:rights>
21 <dc:date>[% rss_timestamp %]</dc:date>
22 <dc:publisher>[% contact.mail %]</dc:publisher>
23 <syn:updatePeriod>weekly</syn:updatePeriod>
24 <syn:updateFrequency>2</syn:updateFrequency>
25 [% FOREACH pkg IN new_packages %]
30 <rdf:li rdf:resource="[% root_url _ pkg.0 %]" />
38 [%- FOREACH pkg IN new_packages %]
39 <item rdf:about="[% root_url _ pkg.0 %]">
40 <title>[% pkg.0 %]</title>
41 <link>[% root_url _ pkg.0 %]</link>
42 <description>[% pkg.-1 %]</description>
43 <dc:subject>[% pkg.6 %]</dc:subject>