Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-27-2010, 11:24 PM   #1 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 7
tariq2305 is on a distinguished road
Question problem while fetching xml through some rss feed

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";
};
--------------------------------------------------------------------------------------
tariq2305 is offline   Reply With Quote
Reply

Bookmarks

Tags
iphone, parser, rss, xml

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 317
10 members and 307 guests
ajay123123, ashaman64, baja_yu, ChrisYates, guusleijsten, HemiMG, newDev, Objective Zero, pkIDSF, Steven.C
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,648
Threads: 94,113
Posts: 402,878
Top Poster: BrianSlick (7,990)
Welcome to our newest member, brandon6031
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:54 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0