开发者

Having trouble parsing itunes affiliate xml

开发者 https://www.devze.com 2023-02-01 20:38 出处:网络
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/lim

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?partner开发者_如何学编程Id=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/au/rss/topsongs/limit=50/genre=20/xml

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

Thanks in advanced.

MKDev


Actually, NSXMLParse has some problems, so it can be the bug in it. What error do you receive?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号