[development] PHP 5 > aggregator.module rewrite to XML API?

Gerhard Killesreiter gerhard at killesreiter.de
Tue Jun 19 19:17:30 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Earl Miles schrieb:
> 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.
> 

Then they should direct their complaints to the providers of said broken
data. Drupal has had a rather good record wrt not validating somebody
else's broken feeds. Did this change?

Cheers,
	Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGeCvKfg6TFvELooQRAvGfAJoDZmi2uE3djMLipkvn5AXO9vnqIACdFV9G
RKjNLilGDHTt+CK1QFiUbbM=
=S7hj
-----END PGP SIGNATURE-----


More information about the development mailing list