Syndicate Out 0.8.4

Post length: 379 words, about 1 and a half minutes.

I have just pushed version 0.8.4 of the Syndicate Out plugin for WordPress to the plugin repository. This version is the same as the v0.8.4 release available on GitHub for about a week. As always, I look forward to feedback and suggestions on this release.

0.8.4 brings with it a couple of major improvements. The biggest bugfix is in scheduled posts: before this release scheduled posts were synced, but with the current date meaning that on the receiving blog they were published immediately rather than on the specified date. There is also a user interface improvement for the settings page. By using WordPress’ build in tabs, the syndication groups are better separated meaning they should be easier to manage for sites with large syndication networks. This also opens the door to other more detailed settings being introduced without causing the settings page to become a mess. Finally, the plugin now has a number of hooks and filters to allow other plugins to work with it. Those are documented further down in this post.

The full change list is as follows:

  • Added hooks for actions and filters to syndication process.
  • Added option to transmit all categories except for the syndication category. (Request by SpiritFly.)
  • Added tabs to settings page for each syndication group to help improve usability.
  • Improved status reporting on settings page.
  • Fixed bug meaning schedule dates weren’t getting sent to remote blog correctly.

The following filters are now available in Syndicate Out:

  • syndicate_post_content (post data, local post ID) Filter post content to be syndicated before it is sent to any targets.

The following actions are now available in Syndicate Out:

  • syndicate_post_before_all (local post ID) Fires before a post is syndicated to ANY destinations.
  • syndicate_post_before_server (local post ID, server url) Fires before a post is syndicated to EACH destination. Fires for both posts which will be updates and for posts which will be new posts on the remote blogs.
  • syndicate_post_after_server (local post ID, server url) Fires after a post is syndicated to EACH destination. Fires for both posts which will be updates and for posts which will be new posts on the remote blogs.
  • syndicate_post_after_all (local post ID) Fires after a post is syndicated to ALL destinations.
Posted on Saturday 11th October, 2014 at 9:20 am in Syndicate Out.
It was tagged with , , , , , , , , , .

26 comments

Hi,
your plugin is great, thank you.
I added function for featured thumbnail. Can I send you my code? It would by great if this option could be in next release.
Jan
PS: Im sorry for my english.

Posted on 31st Oct 2014 at 1:36 pm by Jan.

It would be great to get your code, I’d love to include it because that is a feature lots of people have been asking for. I’ll send you an email so that you can zip it up and send it over to me.

Posted on 6th Nov 2014 at 8:25 am by Jonathon.

I don’t receive your email. Please resend it on semilsky@lwd.cz

Posted on 12th Nov 2014 at 10:42 am by Jan.

Hi there,

i just found and tested your plugin. It’s nearly perfect for what I would like to use it.

The only small suggestion would be to add a function to the “Transmit categories”.
In my case, the categories I try to link are not named the same and also not the default categorie. It would be great if I could either add manually to which categorie it gets posted or link it with the target blog’s categorie.

Tank you for your great work so far.

Posted on 20th Nov 2014 at 3:12 pm by Nadja.

Thanks for your suggestion. I’ll add it to my list and try and think about a way of implementing it in the future 🙂

Posted on 9th Dec 2014 at 4:20 pm by Jonathon.

Feature request: If the original site has deleted a post, I’d like to see it deleted from the sites it’s syndicated to as well. There must have been a reason to delete it from the original site after all… Thank you.

Posted on 11th Dec 2014 at 7:20 pm by bcarney.

That is a very fair point. I already have a feature request like this over on GitHub (https://github.com/confuzzledduck/syndicate-out/issues/26) but will bump this up the list as it doesn’t sound too hard to implement. Thanks.

Posted on 12th Dec 2014 at 10:42 am by Jonathon.

Does the most recent version include the “featured image” that people have been requesting?

Posted on 22nd Jan 2015 at 1:08 pm by Brandon.

I added image syndication to the development version back at the start of December but have not pushed that version to the WordPress repo yet as I wanted to tackle a few other things first.

If you’re feeling brave and want to give it a whirl (it should all work!) you can download and install the plugin manually from the GitHub repo. If you would rather wait and use WP’s built in updates then I’ll try and push the latest version to the WP repo in a week or so.

Posted on 2nd Feb 2015 at 1:21 pm by Jonathon.

Also, has the latest version been tested with WordPress 4.1? I have not been able to successfully add a blog to a syndication group.

When I enter http://www.domain.com for the address I get: Authentication: Failed.
Remote API: API Unavailable.

When I enter http://www.domain.com/wp-admin for the address I get: Authentication: Failed.
Remote API: Unknown.

Posted on 22nd Jan 2015 at 1:11 pm by Brandon.

Actually no. But I’m not aware of anything which has changed from 4.0.1 (which has been fully tested) to 4.1 which would prevent it from working. Have you seen the plugin stop working since you updated WordPress?

With regard to the problem you outline: “API Unavailable” does point to something quite specific, and I would expect that to change to “Unknown” when pointing it to /wp-admin as you were right in the first place to give just the domain. When you access http://www.domain.com/xmlrpc.php in your web browser do you get the message “XML-RPC server accepts POST requests only.” ? If you do, and you don’t mind, then drop me a DM on Twitter with the domain you’re trying to use and I’ll do a quick test to see if there’s any more error information, just getting dropped by the plugin to aid readability, which might help work out what’s going on.

Posted on 2nd Feb 2015 at 1:36 pm by Jonathon.

Perhaps look at Push Syndication, It as Category posting, as well as Post Deleting

Posted on 30th Jan 2015 at 2:05 pm by Riger.

Can you clarify what you mean?

Post delete functionality is something I do intend to add. By category posting, do you mean adding categories to the remote site to match the source site or something else? Also what do you mean by push syndication?

Posted on 2nd Feb 2015 at 1:41 pm by Jonathon.

Hi Jonathon,
When will the image syndication come out on the WordPress repository ? I’d rather download that version than the one from the GitHub.
Thanks for your great work.

Posted on 23rd Feb 2015 at 6:12 pm by Jacques Tévoédjrè.

There’s still some testing to do on the 0.9.0 version to make sure it doesn’t cause too much trouble when pushed to the WordPress repo. I’d like to do it in the next week or so once I’m a bit happier there aren’t too many bugs!

Posted on 27th Feb 2015 at 4:29 pm by Jonathon.

I’ve been testing your version 0.9.0 and have been getting an error which I think is in line 591 of syndicate-out.php.

If I comment out the following code it works:

if ( !empty( $remotePostData = get_post_meta($postId, ‘_so_remote_posts’, true) ) ) {
$remotePostData = unserialize( $remotePostData );
}

Posted on 27th Feb 2015 at 12:57 pm by Simon MacDonald.

Thanks for letting me know. That was part of the last commit I made so has had very little testing.

Can you tell me what error is being generated and when it occurs? Does it cause the error all the time, or only when deleting a post (that should be the only time would run that particular piece of code)? Thanks for your help.

Posted on 27th Feb 2015 at 4:31 pm by Jonathon.

I’m wondering if it’s possible to add support for Page Links To plugin (http://wordpress.org/plugins/page-links-to/). I use that plugin for certain posts to give them an alternate link, and would love to send this data along to publish on other sites that have the same plugin.

Posted on 10th Mar 2015 at 12:44 am by ckunderd.

I’ll have a look into it. I would guess it doesn’t do anything too much more complicated than additional meta data which should get transferred anyway but I will have a play and see what, if anything, I can do to get it working. Thanks for the suggestion.

Posted on 10th Mar 2015 at 4:27 pm by Jonathon.

Hello, first I want to congratulate you for this wonderful plugin and take the opportunity to consult you if there is a possibility that the tags also transmitted and current transfers category but not the tags or maybe this I doing something wrong. Thanks for your answer.

Posted on 5th May 2015 at 5:48 pm by Javier.

Sorry, I’m not sure exactly what you are asking. You can select the category to be transmitted and tags should be by default. Are you finding that they are not, or do you want an option to do something a little bit different?

Posted on 6th May 2015 at 3:47 pm by Jonathon.

Thank you for this great plugin, I downloaded the one from github because it has the featured image feature I need. Thanks again

Posted on 7th Jul 2015 at 8:01 am by Mark Anthony Panao.

I read through others challenge and I checked http://www.mydomain.com/xmlrpc.php and i got “XML-RPC server accepts POST requests only”. What do i do to be able to add a syndicate group?

Posted on 20th Aug 2015 at 11:57 pm by Kadela.

If the target blog (the one you are sending posts to) says that when loading xmlrpc.php then that is working as expected. In the source blog (the one sending posts from) you simply add the URL of the target blog (http://www.mydomain.com/ in this example) and it should work. The plugin will make some checks to ensure it can connect to the target blog when you save the settings.

Posted on 23rd Aug 2015 at 9:39 am by Jonathon.

Hi – Two questions regarding your plug-in. I am using the latest version. First – were you able to incorporate the code from a different user that allows for Featured Images to function in the transfer? Also, I have discovered that if I have previously published a post, even if I revert it to draft, check the category that I have associated with syndication, and then re-publish, that “new” post doesn’t get sent out to the other site. Please let me know if I’m doing anything wrong there. Thanks!

Posted on 29th Dec 2015 at 2:19 am by Jeffrey.

The next version does have featured image transfer. I hope to release that version in a couple of days having given it a bit of a polish over the holidays.

With regard to your other point, to clarify: you have a post which you published previously but did not transmit to another site, and then some time down the line you want to transmit it but it’s failing? Am I understanding the issue correctly?

Posted on 6th Jan 2016 at 9:27 am by Jonathon.

Leave a comment