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>[% g('New %s Packages', organisation) %]</title>
17 <link>[% root_url %]newpkg</link>
20 g('The following packages were added to suite %s (section %s) in the %s archive during the last 7 days.',
21 suite, section, organisation);
23 g('The following packages were added to suite %s in the %s archive during the last 7 days.',
27 <dc:language>[% lang %]</dc:language>
28 <dc:rights>[% g('Copyright ©') %] [% timestamp.year %], [% copyright.name %]</dc:rights>
29 <dc:date>[% rss_timestamp %]</dc:date>
30 <dc:publisher>[% contact.mail %]</dc:publisher>
31 <syn:updatePeriod>weekly</syn:updatePeriod>
32 <syn:updateFrequency>2</syn:updateFrequency>
33 [% FOREACH pkg IN new_packages %]
38 <rdf:li rdf:resource="[% root_url _ pkg.0 %]" />
46 [%- FOREACH pkg IN new_packages %]
47 <item rdf:about="[% root_url _ pkg.0 %]">
48 <title>[% pkg.0 %]</title>
49 <link>[% root_url _ pkg.0 %]</link>
50 <description>[% pkg.-1 | html %]</description>
51 <dc:subject>[% pkg.6 %]</dc:subject>