The attached is the source code for the tracker I produced. It's only able to track DHL packages and it does so unsatisfactorily but, as of the moment, I'm not sure how to improve the manner in which I extract the information because I'm a relative newbie when it comes to web development.
When I download the website is there a way I can better parse the information from the tables on the DHL page? A valid (German - .de) DHL tracking number has been included in the vi by default such that meaningful information can be retrieved.
I guess what I'm trying to achieve is to extract functional aspects (e.g. XML data) from the webpage, rather than downloading the whole page and then picking up the useful bits at the end, which is bound to work only on occasions and will fail, for example, when the page is rendered in a language other than German at the moment.
Thanks.