genetic^eyes
12-01-2005, 06:12 PM
Hi guys,
Am trying to come up with a Javascript function that can load a given URL and fetch part/whole of the web page and hand it over to my parser. Any ideas on how to do it ?
One way I figured is to use XMLHttpRequest - but you need the server-end to respond by sending the required data to you in XML format. What if the page I want to extract data from is just an ordinary static page ... say I know the required data is a word that can be found at second paragraph of a page.. So how do I go about getting that page and extracting that info.
Any help will be much appreciated :)
Regards,
genetic^eyes
Am trying to come up with a Javascript function that can load a given URL and fetch part/whole of the web page and hand it over to my parser. Any ideas on how to do it ?
One way I figured is to use XMLHttpRequest - but you need the server-end to respond by sending the required data to you in XML format. What if the page I want to extract data from is just an ordinary static page ... say I know the required data is a word that can be found at second paragraph of a page.. So how do I go about getting that page and extracting that info.
Any help will be much appreciated :)
Regards,
genetic^eyes