blaze41 Posted January 22, 2012 Share Posted January 22, 2012 Hi all, Maybe someone can help me with this, I am looking to copy specific content from one website to another automatically. So when ever one website updates the certain content the other site is automatically updated with it to. I have tried using file_get_contents but this wasnt working. Does anyone have any ideas? Im looking to copy https://annablais.scentsy.us/Home starting at line 270, the end is determined by how many Parties there are. Thanks all Quote Link to comment https://forums.phpfreaks.com/topic/255527-copying-content/ Share on other sites More sharing options...
AyKay47 Posted January 22, 2012 Share Posted January 22, 2012 Have you looked into RSS? Quote Link to comment https://forums.phpfreaks.com/topic/255527-copying-content/#findComment-1310089 Share on other sites More sharing options...
litebearer Posted January 22, 2012 Share Posted January 22, 2012 As appears that you have access to (own) both sites; and presuming you have the dates in a database, you might look into Remote Database Access Hosts on your Cpanel Quote Link to comment https://forums.phpfreaks.com/topic/255527-copying-content/#findComment-1310095 Share on other sites More sharing options...
blaze41 Posted January 22, 2012 Author Share Posted January 22, 2012 Although both sites are technically mine, one is a replicated site off of a bigger company. So I dont have access to the database, which is a bummer. As far as the RSS feed goes, would I be able to select a section of the page to be displayed? How would I implement that? Quote Link to comment https://forums.phpfreaks.com/topic/255527-copying-content/#findComment-1310122 Share on other sites More sharing options...
AyKay47 Posted January 23, 2012 Share Posted January 23, 2012 first you must understand how RSS feeds work, you can find many resources on the internet about the subject. Quote Link to comment https://forums.phpfreaks.com/topic/255527-copying-content/#findComment-1310182 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.