Having trouble parsing itunes affiliate xml...

Posted by MKDev on Stack Overflow See other posts from Stack Overflow or by MKDev
Published on 2011-01-02T04:00:58Z Indexed on 2011/01/02 12:54 UTC
Read the original article Hit count: 188

Filed under:
|
|
|

Hi, I am trying to parse an itunes affiliate xml link purely for practise, using NSXMLParser but the link will not parse. The itunes affiliate xml link is this: http://itunes.apple.com/au/rss/topsongs/limit=50/genre=20/xml?partnerId=2003&TD_PARAM=http%3A%2F%2Fclkuk.tradedoubler.com%2Fclick%3Fp%3D23708%26a%3D1904172%26url%3D.

it works perfectly in safari on my mac. The normal itunes link I tried parsing:

http://itunes.apple.com/%@/rss/%@/limit=50/genre=20/xml

works perfectly with the NSXMLParser. Can anyone tell me why this is happening?

Thanks in advanced.

MKDev

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c