Click to See Complete Forum and Search --> : How to get data from another site into yours


YAFU
03-22-2004, 01:43 PM
I am very new to web page design. I also do not want to get anyone upset by starting a silly new thread.

My question:

If i wanted to use data from a specific webpage and use that data in my webpage how would i go about it? For example, if i wanted to use an Ebay Feedback number (data that changes), how would i capture that data and use it in my own page while preserving the future changes? There are many examples. Maybe the data to be captured could be pricing that changes. Any help or links to some help would be greatly appreciated.

Thank you

Steve

neil9999
03-22-2004, 01:46 PM
If you want to view the source (code) of a webpage, go 'View' - 'Source'.

Neil

YAFU
03-22-2004, 04:08 PM
Neil,

Thank you for the reply... but i am not that new to web development. I am after method and examples of querying another site for data, manipulating the data and then posting that augmented data to my own site.

Steve

Vladdy
03-22-2004, 04:31 PM
Legal issues aside, you would use server side methods (such as XMLHTTP on Windows server, or PHP's fopen() ) to access remote sites. Such methods would usually return a string (text stream) containing the page HTML code. You would parse it for infromation you are interested in, extract it and then add it to your site......

YAFU
03-22-2004, 06:53 PM
Vladdy,

Thank you for the reply. I am a little lost in terms of XML and PHP. What your wrote makes sense, but i do not have a working knowledge of XML or PHP. In the example i posted, where i wish to capture an EBAY Feedback rating and post it to my own site, how would i go about coding something like that. I would like a little more depth, within reason of course. Thank you again.

Steve