views:

94

answers:

1

in html an rss link looks somewhat like this

<a class="rsslink" href="http:the_url">The feed title</a>

i would like to get all links that match this description from a html page that has a list of rss feeds. anyone know of a good way to parse, with some sample code?

+1  A: 

The libxml2 library can receive XPath queries with the following extensions. With these extensions you might issue the XPath query /a[@class = "rsslink"]/@href on your HTML document, in order to retrieve an NSArray with those attributes' values.

Alex Reynolds