X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fqueue_rss.py;h=9fc5f429115dd24f1d95886de8b92e82c57d2a8c;hb=4c7eee9642e82b6286f807ad92a93e7ef30288e6;hp=fb56e189a4d24801e4f40d8b3fd363b35f31ac17;hpb=9f7f390873b8ac52472f6d17ec18ecf00498d6cc;p=dak.git diff --git a/tools/queue_rss.py b/tools/queue_rss.py index fb56e189..9fc5f429 100755 --- a/tools/queue_rss.py +++ b/tools/queue_rss.py @@ -18,8 +18,8 @@ import PyRSS2Gen from debian_bundle.deb822 import Changes -inrss_filename = "changes_in.rss" -outrss_filename = "changes_out.rss" +inrss_filename = "NEW_in.rss" +outrss_filename = "NEW_out.rss" db_filename = "status.db" parser = OptionParser() @@ -113,14 +113,17 @@ def add_rss_item(status, msg, direction): description = "
Description: %s\nChanges: %s\n
" % \ (utf2ascii(cgi.escape(msg['Description'])), utf2ascii(cgi.escape(msg['Changes']))) + link = "http://ftp-master.debian.org/new/%s_%s.html" % \ + (msg['Source'], msg['Version']) + feed.items.insert(0, PyRSS2Gen.RSSItem( title, pubDate = pubdate, description = description, author = utf2ascii(cgi.escape(msg['Maintainer'])), - link = "http://ftp-master.debian.org/new/%s_%s.html" % \ - (msg['Source'], msg['Version']) + link = link, + guid = link ) )