organisation = 'Debian'
project_homepage = 'http://www.debian.org/'
- packages_homepage = 'http://packages.debian.net/'
+ packages_homepage = '/'
+ packages_homepage_abs = 'http://packages.debian.net/'
searchformurl = packages_homepage
search_url = '/search'
tags_url = 'http://debtags.alioth.debian.org/'
[%- FOREACH s IN suites -%]
[%- FOREACH s.versions %]
Package: [% pkg %]
-Url: [% packages_homepage _ make_url(pkg,'','suite',s.suite,'arch','','section','','format','') %]
+Url: [% packages_homepage_abs _ make_url(pkg,'','suite',s.suite,'arch','','section','','format','') %]
Archive: [% archive %]
Suite: [% s.suite %]
Section: [% s.section %]
[%- FOREACH origins -%]
[%- origin = (archive == main_archive) ? suite : "$suite/$archive" %]
Package: [% pkg %]
-Url: [% packages_homepage _ make_url(pkg,'','source','source','suite',origin,'section','','arch','','format','') %]
+Url: [% packages_homepage_abs _ make_url(pkg,'','source','source','suite',origin,'section','','arch','','format','') %]
[%- "\nArchive: $real_archive" IF real_archive %]
[%- "\nSection: $section" IF section %]
Subsection: [% subsection %]
xmlns:admin="http://webns.net/mvcb/"
>
-[%- root_url = "$packages_homepage$suite/";
+[%- root_url = "$packages_homepage_abs$suite/";
SET root_url = "$root_url$section/" IF section -%]
<channel rdf:about="[% root_url %]newpkg">