summaryrefslogtreecommitdiff
path: root/templates/rss1hour.xml
blob: 57b50ff4269ac7b6a083ac6ef7711c2e90cd8576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">
<rss version="0.91"
     xmlns:tal="http://xml.zope.org/namespaces/tal"
     xmlns:metal="http://xml.zope.org/namespaces/metal">
 <channel>
  <title>PyPI changes</title>
  <link tal:content="string:${app/url_machine}${app/url_path}" />
  <description>Updates to the Python Package Index in the last hour</description>
  <language>en</language>

  <item tal:repeat="change app/store/changelog_last_hour">
    <title tal:content="string:${change/name}" />
    <link tal:content="python:'http://pypi.python.org%s'%app.packageURL(
        change['name'], change['version'])" />
    <description tal:content="change/action" />
    <pubDate tal:content="python:change['submitted_date'].strftime('%d %b %Y %H:%M:%S GMT')" />
   </item>
  </channel>
</rss>