Forum Moderators: open

Message Too Old, No Replies

GET AJAX data

Scrape AJAX data

         

BobParson

7:39 pm on Jul 9, 2007 (gmt 0)

10+ Year Member



I have a HTML source code which is using AJAX . Can somebody tell me how can i get data from the HTML? When I look in the browser using "view source" it just shows me table_data but does not give me any information about data it just displays data..

Thanks

Bernard Marx

9:45 pm on Jul 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, Bob.

If you are getting the HTML as "responseText", then you will have to parse it yourself (that's where XML format would come in handy).

Do you know how the information is laid out?

BobParson

5:49 pm on Jul 10, 2007 (gmt 0)

10+ Year Member



Hi ,
Thanks for ur quick reply. The data i need is from some external website e.g. (www.yahoo.com). SO I have no idea how it displays the data on the browser? but I can't get any information from "view source". Is there any thing in AJAX which is similar to pattern.compile in HTTPPost..

Achernar

12:46 pm on Jul 11, 2007 (gmt 0)

10+ Year Member Top Contributors Of The Month



Keep in mind that ajax will refuse to load a document from a different domain.

BobParson

9:10 pm on Jul 12, 2007 (gmt 0)

10+ Year Member



Thanks it will help me..

shelter

2:53 am on Jul 28, 2007 (gmt 0)

10+ Year Member



You could always use php to get your info and use ajax to read the php document