Reputation: 11
Hey I would like to build an app that could parse a website in order to get specific information. Specifically something that can parse http://www.fedex.com/Tracking?language=english&cntry_code=us&tracknumbers=681780934297262 for the important information. Is there a tutorial out there I could use.
Upvotes: 1
Views: 632
Reputation: 96976
This Cocoa With Love article discusses parsing XML and HTML with the libxml2
library that is available with Xcode, using XPath to pull out the node(s) of interest. Take a look at the PerformHTMLXPathQuery()
function.
Upvotes: 2