Get first image from description of RSS Feed.
Hi.
I've been searching for a while on a way for me to generate thumbnail images for the articles in my rss reader. The only thing is, all the info I found was on using images from the feed's <media:thumbnail> tag, or something similar. What I want to do is that the description, or the summary, and parse for the first image to be found in the html (<img src="http://www.website.com/image.jpg" />) and then take the source, then I'll add it to Core Data, I know how to save the stuff to Core Data, and have managed to get all the other info, title, date, etc, but the thumbnail images have been bugging me for a while. Also when I have that image I want to remove the image from the html on the detailView, right now I'm using a uiwebview to display the html taken from the feeds description tag.
Thanks in advance.
|