On Dec 27, 2011, at 5:38 AM, Kevin Vavelin wrote:

> I develop an application for my uni (SUPINFO), and i need to get the RSS feed 
> of every labs they have. I don't know if i have to use NSURL or if we have 
> something better in CocoaTouch 'cause my application is for iPhone.

* Use NSURLConnection to fetch the home page.
* Use NSXMLParser to parse the HTML (ordinarily I would say to use 
NSXMLDocument, but iOS doesn't have it. I am actually not sure if NSXMLParser 
is capable of parsing HTML that isn't perfectly formatted as XHTML. If not, 
you'd have to grab and build libtidy to clean it up.)
* Look at the <link> elements inside the <head> element of the <html>, as Tim 
said.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to