aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-02-01 03:38:01 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-02-01 03:38:01 +0000
commit2ee4ad43b4cf52f9886c5025d164ec4230c33fb9 (patch)
tree5590dd5db97b6431364bf21a360f4d5844e04c0d /web
parentFinal fix for bug #199165, image border. (diff)
downloadpackages-2ee4ad43b4cf52f9886c5025d164ec4230c33fb9.tar.gz
packages-2ee4ad43b4cf52f9886c5025d164ec4230c33fb9.tar.bz2
packages-2ee4ad43b4cf52f9886c5025d164ec4230c33fb9.zip
Clean up XML a bit, not perfect, but does validate better per bug #208355. Genshi is messing with the XML still.
Diffstat (limited to 'web')
-rw-r--r--web/templates/index.xml29
1 files changed, 14 insertions, 15 deletions
diff --git a/web/templates/index.xml b/web/templates/index.xml
index 606e34d..86151c4 100644
--- a/web/templates/index.xml
+++ b/web/templates/index.xml
@@ -11,31 +11,30 @@ def relurl(path=''):
from datetime import datetime
?>
<feed xmlns="http://www.w3.org/2005/Atom"
- xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/">
<title>Gentoo Packages ${pagetitle}</title>
<icon>http://www.gentoo.org/favicon.ico</icon>
<id>${absurl(pagerss)}</id>
- <generator url="http://packages.gentoo.org/">Gentoo Packages2</generator>
+ <generator uri="http://packages.gentoo.org/">Gentoo Packages2</generator>
<link rel="alternate" href="${absurl(self)}" type="text/html"/>
<link rel="self" href="${absurl(pagerss)}" type="application/atom+xml"/>
<updated>${lastmodified_rss(lastupdate)}</updated>
<entry py:for="pkg in center_pkgs">
- <title type="xhtml" xhtml="http://www.w3.org/1999/xhtml">
- <div xhtml="http://www.w3.org/1999/xhtml">
- <span class="cpvstr">${pkg.atom.cpvstr}</span>: <span class="description">${pkg.meta.description}</span>
- </div>
- </title>
- <link rel="alternate" href="${absurl('/package/'+pkg.atom.key)}" type="text/html"/>
- <id>${absurl('/package/'+pkg.atom.key)}</id>
- <author>
- <name>${pkg.meta.authorname} (${pkg.meta.authorid})</name>
- <uri>${links.ciavc_link(pkg.meta.authorid)}</uri>
- </author>
- <updated>${pkg.meta.ebuildchange.strftime("%Y-%m-%dT%H:%M:%SZ")}</updated>
- <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">${HTML(pkg.meta.commitmsg)}</div></summary>
+ <title type="xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml">
+ <xhtml:div xmlns="http://www.w3.org/1999/xhtml">
+ <span class="cpvstr">${pkg.atom.cpvstr}</span>: <span class="description">${pkg.meta.description}</span>
+ </xhtml:div>
+ </title>
+ <link rel="alternate" href="${absurl('/package/'+pkg.atom.key)}" type="text/html"/>
+ <id>${absurl('/package/'+pkg.atom.key)}</id>
+ <author>
+ <name>${pkg.meta.authorname} (${pkg.meta.authorid})</name>
+ <uri>${links.ciavc_link(pkg.meta.authorid)}</uri>
+ </author>
+ <updated>${pkg.meta.ebuildchange.strftime("%Y-%m-%dT%H:%M:%SZ")}</updated>
+ <summary type="xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml"><xhtml:div xmlns="http://www.w3.org/1999/xhtml">${HTML(pkg.meta.commitmsg)}</xhtml:div></summary>
</entry>
</feed>