Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fetch goldprice in realtime ?

Status
Not open for further replies.

MrMiyagi

Technical User
Feb 11, 2009
43
FI
If I wanted to fetch the goldprice in real time(or between 10minutes) and publish it on my site. How could I do it?

For example from here:
Or some chart like this:

Prototype framework has an Ajax.periodical.updater that might be useful for bringing content from another site between intervals of time... but how can I read a specific div content/table value from other site and bring the value to my site...

Thanks for all answers!
 
It would be best to sign up for a service that offers this, rather than simply scraping someone else's web site.

I say this because if you go down the scraping route, the site you use has no obligation to serve you data, and could withdraw it, or even intentionally serve you incorrect data (I'd do this if I owned a site like that and found it was being scraped).

That aside, you might need to go via a server-side proxy if you're reading data from a website that is not on your domain.

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top