Red Hat Bugzilla – Bug 193111
repo-rss should not generate a <body> entry
Last modified: 2007-11-30 17:11:33 EST
Description of problem:
For each item in the rss feed, repo-rss generates two descriptions: one enclosed
in the description tag, one in the <body> tag.
I can't find the <body> tag in the rss spec, and it confuses my agregator: it
uses the contents of this tag, and strips out the html formatting. On the
contrary, if I remove the <body> element, <description> is picked up, with the
html tags properly escaped, and it shows just fine in the agregator.
I think it's not just my agregator, because if I try to validate a feed with
http://feedvalidator.org, a warning is issued about the body tag.
In addition, the description could use some formating. I'll attach a patch about
Version-Release number of selected component (if applicable):
Created attachment 129978 [details]
add formating for description, get rid of the body tag
Created attachment 129998 [details]
add a better formating for description, get rid of the body tag
This patch also turns "\n" into "<br />" in the description, since it's HTML
now. This way the bullet lists turn out fine.
I have added the patch to upstream CVS, it will be available in next yum-utils