blob: dc1a5ef1f44851e22d97e996b8ebbd5bc7901057 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<?xml version="1.0" encoding="utf-8"?>
<?python
from genshi import HTML
import web.model as model
import web.lib.links as links
from web.lib.headers import lastmodified_rss
def absurl(path=''):
return links.absurl(path, safeqs)
def relurl(path=''):
return links.relurl(path, safeqs)
from datetime import datetime
?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:py="http://genshi.edgewall.org/">
<title>Gentoo Packages ${pagetitle}</title>
<icon>http://www.gentoo.org/favicon.ico</icon>
<id>${absurl(pagerss)}</id>
<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" 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+'?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>
</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>
|