REGEX to Parse Text From Webpage in iOS?

cycopath

New Member
I am working on updating some of my iOS blog apps to get beyond using UIWebViews that load the article URL. I would like to do something more along the lines of Engadget or TUAW where the text from the article and the main picture is all that is loaded when you click on an article from the tableview, but I am having issues getting only the text of the article.I tried using some DOM Property codes to get the innerBodyText of the HTML, but no matter what DOM property I try, I end up getting header/footer info, advertisements, and more thrown in with the article. Is there a simple way in iOS using REGEX or something else to get just the text of the article?
 
Back
Top