Problem while fetching xml through some rss feed
Posted
by Tariq- iPHONE Programmer
on Stack Overflow
See other posts from Stack Overflow
or by Tariq- iPHONE Programmer
Published on 2010-05-28T04:15:14Z
Indexed on
2010/05/28
4:21 UTC
Read the original article
Hit count: 287
I was fetching xml through some rss feed. I am unable to sort items in depth like i have sorted easily "channel -> description" as
NSString *resultValue=[[responseDictionary valueForKeyPath:@"rss.channel.description"] textContent];
Above Result: YouTube RSS Feed
My question is how i can parse .... item -> description... i.e (Music video by Andrews \U00a9 1982 MJJ Productions Inc.) i am getting nil if i fetch like valueForKeyPath:@"rss.channel.item.description"]
Key: rss Value: { "_text" = "\n"; channel = { "_text" = "\n"; description = { "_text" = "YouTube RSS Feed"; }; item = ( { "_text" = "\n\t"; description = { "_text" = "Music video by Andrews \U00a9 1982 MJJ Productions Inc."; }; enclosure = { length = 294; type = "application/x-shockwave-flash"; url = "http://youtube.com/v/Zi_XLOBDo_Y.swf"; }; link = { "_text" = "http://youtube.com/?v=Zi_XLOBDo_Y";
};
© Stack Overflow or respective owner