PDA

View Full Version : RSS-How To?




help!!!!!
Dec 24, 2008, 11:20 PM
Hey,
I am writing an app that includes RSS as the main feature. When the user taps the feed they want to see, the video will show up. What code do I need to put in a RSS feed? I know that there is a thing in Dashcode for this but I want this to be a full-fledged app in Xcode. Thx


-Jonah



xsmasher
Dec 26, 2008, 11:59 AM
Hey,
I am writing an app that includes RSS as the main feature. When the user taps the feed they want to see, the video will show up. What code do I need to put in a RSS feed? I know that there is a thing in Dashcode for this but I want this to be a full-fledged app in Xcode. Thx


-Jonah

You want to read an RSS stream, right? Then you want to look into how to use NSXMLParser, the built-in XML parsing object.

It's not like reading XML in JavaScript or ActionScript - you don't load the whole document into a tree and then traverse the tree; instead you get a series of events for each tag. But it's really elegant once you get it.

http://developer.apple.com/documentation/Cocoa/Conceptual/XMLParsing/XMLParsing.html