views:

32

answers:

0

Hey,

I'm loading a website's html code using NSString - NSString*webViewText = [NSString stringWithContentsOfURL:[NSURL URLWithString:[self getCurrentURLFromWebview:browser]] encoding:1 error:nil]; and I'd like to extract the RSS feed from them, but I got a few questions.

From what I know, most feeds are included in the website as such: <link rel="alternate" type="application/rss+xml" title="Sky News" href="/sky-news/rss/home/rss.xml" /> Is this the same everywhere?

If so can I use NSScanner to look for it? Or is there a better alternative?

Thanks