I used the HTML parser before, but version1.1, and i want to update the application with the new version (1.4), but there have been so many changes and I dont know where to start.
I need help..could someone show me a small sample code of how I can give the parser a resource, connect to the url, and get a list of all the html nodes from that web page..or just specific tags, eg link, images, text only...
My application simply satisfies users' url requests, and parses the page, and uses the created nodes as it sees fit...
Please, please, I'd appreciate your help!!
Cheers!
cl.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all..
I used the HTML parser before, but version1.1, and i want to update the application with the new version (1.4), but there have been so many changes and I dont know where to start.
I need help..could someone show me a small sample code of how I can give the parser a resource, connect to the url, and get a list of all the html nodes from that web page..or just specific tags, eg link, images, text only...
My application simply satisfies users' url requests, and parses the page, and uses the created nodes as it sees fit...
Please, please, I'd appreciate your help!!
Cheers!
cl.
Numerous examples similar to your requirements are available on the wiki:
http://htmlparser.sourceforge.net/wiki/
Note that this is also included in the documentation shipped with each release.
Thanks for that..
cheers!