Pages

Sunday, June 9, 2013

Hotnews RSS feed corruption

I found a recent corruption in the urls provided by the apple hotnews rss feed, or at least what appears to be corruption. Can anyone shed some light on this?

 

The link I am using is:

http://images.apple.com/main/rss/hotnews/hotnews.rss

 

Pastebin of rss contents (since it will likely change)

http://pastebin.com/yiY73HA4

 

The error appears in the format:

 

$true_link$ ?sr=hotnews.rss

 

The expected value should be:

$true_link$?sr=hotnews.rss


 

it appears to simply be a referral parameter, and as such one can simply tokenize the input and take the first token, but it is a bit of a bummer to have to clean (some of) the data manually.

 

 

 

-Christophe


View the original article here

0 comments:

Post a Comment