aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-08-05 00:53:19 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-08-05 00:53:19 +0000
commit4da94c9fece25ca586671212e054c82686baddd7 (patch)
treee9b7872f790e542a479e08b149969dadfdd59a44
parentAlways validate the list index before using. There is probably a saner map/re... (diff)
downloadpackages-3-4da94c9fece25ca586671212e054c82686baddd7.tar.gz
packages-3-4da94c9fece25ca586671212e054c82686baddd7.tar.bz2
packages-3-4da94c9fece25ca586671212e054c82686baddd7.zip
Include a last-time changed suffix in the ids for each entry per RFC4287, section 4.2.6 that requires per-document uniqueness of IDs. Gentoo bug #214561.
-rw-r--r--web/templates/index.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/templates/index.xml b/web/templates/index.xml
index 86151c4..dc1a5ef 100644
--- a/web/templates/index.xml
+++ b/web/templates/index.xml
@@ -28,7 +28,7 @@ from datetime import datetime
</xhtml:div>
</title>
<link rel="alternate" href="${absurl('/package/'+pkg.atom.key)}" type="text/html"/>
- <id>${absurl('/package/'+pkg.atom.key)}</id>
+ <id>${absurl('/package/'+pkg.atom.key+'?ts='+pkg.meta.ebuildchange.strftime("%Y-%m-%dT%H:%M:%SZ"))}</id>
<author>
<name>${pkg.meta.authorname} (${pkg.meta.authorid})</name>
<uri>${links.ciavc_link(pkg.meta.authorid)}</uri>