From 7c71bb32ccfdb08c440bbcfca9a433f1be0b2285 Mon Sep 17 00:00:00 2001 From: Filippo Giunchedi Date: Fri, 27 Mar 2009 20:14:47 +0100 Subject: [PATCH] add guid element (same as link) to make feed validator happy --- tools/queue_rss.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 ) ) -- 2.39.5