[development] PHP 5 > aggregator.module rewrite to XML API?
merlin at logrus.com
Tue Jun 19 18:27:52 UTC 2007
Larry Garfield wrote:
> Disclaimer: I am not an RSS guru, just a pedant. :-)
> RSS is XML. The XML spec explicitly says that invalid files should be discarded, not guessed at the way HTML is. Trying to make sense of a broken RSS feed is explicitly contrary to the spec. So, er, why are we spending so much time trying to sanitize? If it doesn't parse correctly, report an error "this site's RSS feed is f*ed up, tell 'em to fix it". Am I missing something here?
Because most people don't care if a site's XML is a little messed up. They care
about the data; throwing away the data for trivial errors will upset the
consumers of the data.
More information about the development