From: Filippo Giunchedi Date: Fri, 27 Mar 2009 19:14:47 +0000 (+0100) Subject: add guid element (same as link) to make feed validator happy X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c71bb32ccfdb08c440bbcfca9a433f1be0b2285;p=dak add guid element (same as link) to make feed validator happy --- diff --git a/tools/queue_rss.py b/tools/queue_rss.py index fb56e189..7b331217 100755 --- a/tools/queue_rss.py +++ b/tools/queue_rss.py @@ -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 ) )