I need a script of some sort which will automatically grab specified data from a website, and update that information to your site whenever the information on the external site changes. If you can provide a blank sample of the script or point me in the right direction I would greatly appreciate it.How do you get information from an external website to automatically update on your website?There are 2 methods to update any info at a client side. First is "Push" and second is "PULL". As you are interested to update your site from an external site, where the external site has no information about your site, you HAVE to implement a "PULL" method update.
So, you have to constantly (say in some time interval of 5sec/10sec/1 minute/5minute,etc...) poll to the external site for the information change from last time with a script. And again this script is specific to your need, what you want to update and for what you are interested.
Having said that, if the external site has some free service which broadcasts the data in RSS, CSV format, then you can read those data easily and accordingly update your site. Like Yahoo weather info, stock market info, news from sites, etc ..
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment