Marco Angeli Posted January 26, 2016 Share Posted January 26, 2016 Hi processwire people, a short insight of what I'd like to build: different clients sites, each one with it's own domain. one main site (with it's own domain) which grabs some content from clients sites. The users that run www.client1.com or www.client2.com need to publish a post on their personal site. The post then must be available on "www.mainsite.com" Do you think that the module "Multiple site support" is the way to go? Thanks! Link to comment Share on other sites More sharing options...
bernhard Posted January 26, 2016 Share Posted January 26, 2016 hi marco, sounds like https://processwire.com/api/modules/multi-site-support/ option #2 would be worth a try. but it depends a lot on the setup of your sites. are they exactly the same or should they be different? i think pw 3.0 should also be able to grab data from other installations but i have no experience with it so far Link to comment Share on other sites More sharing options...
LostKobrakai Posted January 26, 2016 Share Posted January 26, 2016 The other option is to build an interface for the sites to communicate over, like a json api or similar. With 3.0 you could try the multi instance support as well, but it's not very well tested by now. Link to comment Share on other sites More sharing options...
gebeer Posted January 26, 2016 Share Posted January 26, 2016 I am using REST API to exchange information between independent PW installs. There is Ryan's Pages Web Service Module you could use on the client sites and then query it from the main site. Or clsource's REST Helper classes for setting up a REST API. I wrote a tutorial on setting up the latter. If you decide to go the REST route, there is the HTTPful REST client for PHP which makes life a lot easier when doing requests with PHP (from your main site to the client sites). 1 Link to comment Share on other sites More sharing options...
Marco Angeli Posted January 26, 2016 Author Share Posted January 26, 2016 well, thanks for your suggestions folks! I add another option I've just discovered: RSS feed generator and RSS feed loader (see Ryan's post) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now