Closed Bug 278515 Opened 20 years ago Closed 17 years ago

planet.mozilla.org's rss feeds are broken (not well-formed) when entry title has < or &

Categories

(Websites :: planet.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: glob, Unassigned)

References

()

Details

currently planet.mozilla.org's rss feeds are invalid html.

the error is caused by the following:

<title>MozillaZine: Times Online Q&A; with Blake Ross</title>

&A; isn't a valid entity.
cc'ing someone who might be able to fix this and moving to a better component.
Assignee: mitchell → mozilla.webmaster
Component: Miscellaneous → webmaster@mozilla.org
QA Contact: mitchell → danielwang
i guess someone noticed, as the title of the article in question is now "Times
Online Q and A with Blake Ross"
Hmm, that does not fix the problem. It only fixes it for now.
.. which is why i didn't close this bug :)
The bug appears to lie in feedparser (http://feedparser.org/), which
planet uses.
for what it's worth, they are broken again:

<title>Jesse Ruderman: Security advisories for Firefox < 1.0</title>

< should be &lt;

Summary: planet.mozilla.org's rss feeds are broken → planet.mozilla.org's rss feeds are broken (not well-formed) when entry title has < or &
(In reply to comment #5)
> The bug appears to lie in feedparser (http://feedparser.org/), which
> planet uses.

This comment is based on the defaults for the PlanetPlanet Software:

I would have thought the issue was more likely to be the 

    <TMPL_VAR title>

which is in the default rss20.xml.tmpl - would it not be better to change that to 

    <TMPL_VAR title ESCAPE="HTML">
Assignee: www-mozilla-org → nobody
QA Contact: danielwang → www-mozilla-org
Assignee: nobody → tor
Component: www.mozilla.org → planet.mozilla.org
Product: mozilla.org → Websites
QA Contact: www-mozilla-org
Version: other → unspecified
--> Websites :: planet.mozilla.org
QA Contact: planet-mozilla-org
Assignee: tor → nobody
This bug should be marked as dependent of bug https://bugzilla.mozilla.org/show_bug.cgi?id=372060

At least I think that resolving bug 372060 will resolve this one too
Depends on: 372060
Did the upgrade earlier tonight fix this?
I think this is fixed. If it isn't please reopen.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.