Bug 193111 - repo-rss should not generate a <body> entry
Summary: repo-rss should not generate a <body> entry
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-25 11:16 UTC by Aurelien Bompard
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-14 14:33:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
add formating for description, get rid of the body tag (1.20 KB, patch)
2006-05-25 11:16 UTC, Aurelien Bompard
no flags Details | Diff
add a better formating for description, get rid of the body tag (1.22 KB, patch)
2006-05-25 16:54 UTC, Aurelien Bompard
no flags Details | Diff

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. 


Note You need to log in before you can comment on or make changes to this bug.