RSS Detector in NSXMLParser

Posted by Alexandre Cassagne on Stack Overflow See other posts from Stack Overflow or by Alexandre Cassagne
Published on 2010-04-08T20:11:16Z Indexed on 2010/04/08 20:13 UTC
Read the original article Hit count: 415

Filed under:
|
|
|

How do I use NSXMLDetector to find RSS links in HTML files, the tags in the source are like so :

<link rel="alternate" type="application/rss+xml" title="CNN - Top Stories [RSS]" href="http://rss.cnn.com/rss/cnn_topstories.rss"> <link rel="alternate" type="application/rss+xml" title="CNN - Recent Stories [RSS]" href="http://rss.cnn.com/rss/cnn_latest.rss">

I need this in order to automatically detect RSS links in a RSS app. Thanks !

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about rss