Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
Operating System: ReactOS
Platform: x86 Hardware
URL: http://www.reactos.org/en/newsfeed_rss.xml
Description
Generated feeds don't escape ampersands (the & symbol) and I can only assume the same problem exists for other characters significant to XML syntax like less/greater-than symbols.
Because XML is a "be strict about what you accept" format, this renders the feeds completely useless to most feed aggregators. I know KDE's aKregator fails to parse the feed in it's current state.
The simplest way to solve the problem would probably be to replace & with & and then < and > with < and > throughout the input data. I forget how to do so in PHP and Perl, but for Python, it's as simple as:
inputstring = inputString.replace('&','&').replace('<','<').replace('>','>')