Can two cmsB sites share one backend?

By JeffC - February 20, 2015

Hi

I run two websites with news sections. Both of the websites are built with cmsB, two separate licences.

Website One is specialist and publishes original content

Website Two is general interest and publishes original content + duplicate content from Website One

As things stand I am posting a lot of the same content twice. Is there anyway Website Two could pull in data from Website One. I thought maybe moving Website One to a subdomain of Website Two would be the way forward - but not sure if that would work, or how to implement it.

Thanks

Jeff

By JeffC - February 25, 2015

Thanks for the reply Dave

The first option certainly sounds the cleanest but would be best suited to a new website, I think. In this particular instance retro-fitting to the two existing websites would probably create more work than it's worth. 

For now I am going to use the export and import plugins to copy from one website to the other. It is not instant, I will probably do it once a month, but relatively painless!

With regards to the upload fields, I guess I can just change the path in the csv file downloaded from Website A before uploading to Website B. I can copy the uploads directly to the correct folder using Fetch.

Thanks for getting me on the right track!

Jeff

By Jesus - February 25, 2015

Hi Jeffncou,

Sorry for my intrusion, I've been thinking on a similar situation and how about parsing xml?

I was thinking if its possible to create an xml files and then just create a php so we can read it and use it to populate another website. Of course this its just an idea (a very preliminar idea) but I've been thinking about it.

It will be great if we get the idea more concrete from Interactivetools (to see if this its possible at all).

Jesus

By Dave - February 26, 2015

Hi Guys, 

Jeffncou: Be sure to backup first and do some experiments.  You want to make sure that you don't overwrite any files that have been uploaded with the same names when transferring uploads.  Also, upload meta data is stored in a hidden table called "uploads" so you're going to need that data as well.

Jesus: If you could output as XML and then import it remotely that would work too.  Any method of exporting the data, transferring it and re-importing it.  And of course with XML you could do it in real time as well loading the content each time, although that might put extra load on the server.  For an example of creating XML you have a look at the RSS feed in the Code Generator (RSS is a kind of XML).

Dave Edis - Senior Developer
interactivetools.com