Bug 193111

Summary: repo-rss should not generate a <body> entry
Product: [Fedora] Fedora Reporter: Aurelien Bompard <gauret>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-14 14:33:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
add formating for description, get rid of the body tag
none
add a better formating for description, get rid of the body tag none

Description Aurelien Bompard 2006-05-25 11:16:21 UTC
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
that.

Version-Release number of selected component (if applicable):
yum-utils-0.6-2.fc5

Comment 1 Aurelien Bompard 2006-05-25 11:16:21 UTC
Created attachment 129978 [details]
add formating for description, get rid of the body tag

Comment 2 Aurelien Bompard 2006-05-25 16:54:56 UTC
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.

Comment 3 Tim Lauridsen 2007-02-14 14:33:33 UTC
I have added the patch to upstream CVS, it will be available in next yum-utils
release.