mohabitar Posted August 23, 2009 Share Posted August 23, 2009 Sorry if this has been addressed in another forum topic, but I just wouldnt know what to search for this. Im wondering if anyone could get me going in the right direction for this task. Id like to create a script that would gather information from other sites and embed them into my own site. For example, say weather data taken from weather.com. I'd like to fetch that data from that site and put it in my site, automatically and dynamically. So if the weather changes on their site, it changes on my site as well. How would I go about doing that? Thank you Link to comment https://forums.phpfreaks.com/topic/171478-gathering-data-from-other-sites-code/ Share on other sites More sharing options...
corbin Posted August 23, 2009 Share Posted August 23, 2009 Do you mean RSS feed reading or using APIs? Or do you mean just straight up stealing content? Link to comment https://forums.phpfreaks.com/topic/171478-gathering-data-from-other-sites-code/#findComment-904265 Share on other sites More sharing options...
Garethp Posted August 23, 2009 Share Posted August 23, 2009 Use this if you want to take their whole page and parse it yourself http://au2.php.net/curl Otherwise, see if they have RSS or API's, like Corbin mentioned Link to comment https://forums.phpfreaks.com/topic/171478-gathering-data-from-other-sites-code/#findComment-904266 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.