RE: Apostrophes in the aggregator

"Bauer, Georg" <[email protected]> Fri, 13 Feb 2004 18:02:54 +0100
Newsgroups gmane.comp.python.pyds.user
Message-ID <[email protected]>
Hi!

> (http://www.jerf.org/iri/rss.xml) Reading the feed manually 
> shows that 
> they are present in the feed itself as &apos; .

Sure. That's what apostrophes can be encoded in XML :-)

PyDS has two different methods to quote contents: quoteHTML and quoteXML.
The first doesn't quote the apostrophe, the second does.

Heres the reference to the XML spec:

http://www.w3.org/TR/2004/REC-xml-20040204/#syntax

Ok, it's a MAY specification, but I think that any aggregator that pulls RSS
feeds (they are XML, it's written in the first line ;-) ) and doesn't
recognize &apos; should be regarded as broken. Hopefully PyDS doesn't lose
apostrophes ;-)

bye, Georg