[twitter-dev] Malformed XML in some Atom feeds...

2010-05-04 Thread Brandon Stone
One very popular Twitter list is Scoble's Tech News Brands list:

http://api.twitter.com/1/Scobleizer/lists/tech-news-brands/statuses.atom?per_page=200

I've got a program that's been watching this feed for a while now.  Just
yesterday I started getting some XML parsing errors.  I can create a hack to
make this work again on my end, but it's definitely best for Twitter to make
sure their XML is well-formed.

Here's what feed validator says:

http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fapi.twitter.com%2F1%2FScobleizer%2Flists%2Ftech-news-brands%2Fstatuses.atom%3Fper_page%3D200

 Sorry

 This feed does not validate.

 line 
 482http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fapi.twitter.com%2F1%2FScobleizer%2Flists%2Ftech-news-brands%2Fstatuses.atom%3Fper_page%3D200#l482,
 column 73: XML parsing error: unknown:482:73: not well-formed (invalid
 token) [help http://validator.w3.org/feed/docs/error/SAXError.html]

 a href=http://www.google.com/support/youtube/bin/answer.py?hl=enanswer=16 
 ...


It looks like whenever a twitter:source of Google appears, it breaks the
XML because of the ampersand in the URL:

twitter:source
 a href=
 http://www.google.com/support/youtube/bin/answer.py?hl=enanswer=164577;
 rel=nofollowGoogle/a
 /twitter:source


If the ampersand is fixed, I'm guessing things will be happy again.

I hope I'm sending this to the right place.  Not sure where else to send it.

Thanks!

-Brandon

-- 
Brandon Stone
http://brandonstone.com
http://twitter.com/LBStone


Re: [twitter-dev] Malformed XML in some Atom feeds...

2010-05-04 Thread Taylor Singletary
Hi Brandon,

Thanks for the bug report. We'll work on getting this fixed quickly.

Thanks!

Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod


On Tue, May 4, 2010 at 7:54 AM, Brandon Stone st...@lbstone.com wrote:

 One very popular Twitter list is Scoble's Tech News Brands list:


 http://api.twitter.com/1/Scobleizer/lists/tech-news-brands/statuses.atom?per_page=200

 I've got a program that's been watching this feed for a while now.  Just
 yesterday I started getting some XML parsing errors.  I can create a hack to
 make this work again on my end, but it's definitely best for Twitter to make
 sure their XML is well-formed.

 Here's what feed validator says:


 http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fapi.twitter.com%2F1%2FScobleizer%2Flists%2Ftech-news-brands%2Fstatuses.atom%3Fper_page%3D200

 Sorry

 This feed does not validate.

 line 
 482http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fapi.twitter.com%2F1%2FScobleizer%2Flists%2Ftech-news-brands%2Fstatuses.atom%3Fper_page%3D200#l482,
 column 73: XML parsing error: unknown:482:73: not well-formed (invalid
 token) [help http://validator.w3.org/feed/docs/error/SAXError.html]

 a href=http://www.google.com/support/youtube/bin/answer.py?hl=enanswer=16 
 ...


 It looks like whenever a twitter:source of Google appears, it breaks
 the XML because of the ampersand in the URL:

 twitter:source
 a href=
 http://www.google.com/support/youtube/bin/answer.py?hl=enanswer=164577;
 rel=nofollowGoogle/a
 /twitter:source


 If the ampersand is fixed, I'm guessing things will be happy again.

 I hope I'm sending this to the right place.  Not sure where else to send
 it.

 Thanks!

 -Brandon

 --
 Brandon Stone
 http://brandonstone.com
 http://twitter.com/LBStone