Syndication Between WP Sites
Syndication is a process whereby you can post something to your site and other locations will detect that you have posted something and then pull in the content to their site, making it look like you wrote it and posted it on their site. Is that clear? Here is my use-case:
I post everything I do to rodneydyer.com.
For things that I want to be shown on my work page (https://dyerlab.org), I select a particular Category or Tag for the post.
My work site monitors and any time something at rodneydyer.com comes up with the key Category and/or Tag, dyerlab.org pulls the content of the post in and formats it to look just like I wrote it for that site.
This is particularly interesting for teaching and other uses. If a class uses WordPress for its webpage, students can provide content for that class page by publishing on their own site. This allows each student to create a "Digital Portfolio" of work that they maintain (see my thing on Content Silos for more on this).
I'm going to use the FeedWordPress Plugin for this because it was the one that my university uses and I want to standardize the approaches.
To install it, go to Plugins->Add New and search for it. Install & Activate .I'm going to use a new Category, named Dyerlab, to trigger the syndication. So I add a new one.
A new top-level category to handle the syndication.
OK, now on my personal page, I have a category "Dyerlab" that I will attach to things that I want to show up on my Dyerlab WordPress site. To make the connection, we need to get the category feed address. Unless you are changing something drastic it has the following structure:
which in my case is:
You can try it out and you should see (if you have any posts with that category published) a list of just those posts. If so, perfect. If not, then you either have not posted anything with that category or you have not set up the category correctly. Go back and check.
Now, I need to set up the other site, in this case my laboratory site, to monitor my personal site, and any time something is posted, grab it. Go open your other site and make sure the plugin is installed. This site will "Pull" the posts from the original site. Click on Syndication in the bottom left panel and you will open the settings page.
The syndication settings page.
In the "New Source" box, paste in the category address from your other site. In my case I pasted in
You will be taken to a verification screen where you can verify that things are working properly and select the correct feed type. There is a 'verify' link that you can use to make sure it is providing good input. After you select which kind of feed you want, you will be redirected back to the list, as above, but with your new feed in it.
Now, when I write something (like this post) on my site, it will automagically show up on my laboratory site as well. The Cool thing is that wherever it is displayed, it is reformatted to look as if it belonged at that location. Here is this post on my personal site.
and on my laboratory site
are identical in content, though are individually styles. Pretty cool!
Featured image bytes amattox mattox (CC BY-NC 2.0).