• Resolved fabian.schmid

    (@fabianschmid)


    Hey, nice plugin, just what I was looking for!

    I was wondering, if there’s a way to sync posts to the destination blog, when they are updated in the source blog? I figured they are being crossposted to the destination blog, even if they are not new, but only being updated. But what I’m looking for is to sync the changes.

    Examples:
    – I change the title or content of the post in the source blog: I’d like the changes to be synced to the destination blog.
    – I add the no-crosspost category (“Do not crosspost entries in these categories”) to the post: I’d like the post to be deleted (or marked as not published) on the destination blog.

    Any help appreciated!

    Thanks,
    Fabian

    https://www.ads-software.com/plugins/wp-crosspost/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter fabian.schmid

    (@fabianschmid)

    Oh, I just found in the FAQ that this should actually work. Tried it again and it worked this time. Gonna ask again, in case I will have any problems with it again. This is for the editing part. The “delete crossposted post when adding non-crosspost category to source post” issue is not solved.

    And one more question by the way: Is there a way to crosspost the featured image as well?

    Thanks!

    Plugin Author Meitar

    (@meitar)

    there’s a way to sync posts to the destination blog, when they are updated in the source blog?

    Yes, this is what happens.

    I change the title or content of the post in the source blog: I’d like the changes to be synced to the destination blog.

    That is what happens.

    I add the no-crosspost category (“Do not crosspost entries in these categories”) to the post: I’d like the post to be deleted (or marked as not published) on the destination blog.

    The “Do not crosspost entries in these categories” option makes the plugin ignore posts in the specified categories. If you want to delete a post on the destination blog by editing the source blog, simply make sure the post in question does not have one of the exclusion categories applied to it, and then delete the post on the source blog. The destination blog post’s copy will also be deleted.

    Thread Starter fabian.schmid

    (@fabianschmid)

    Thanks, Meitar, for your quick and helpful reply!

    Regarding the deleting part: I wasn’t going to delete the post in the source blog, but only in the destination blog, by removing the non-crosspost category. Say I forgot to add this category to a post that I only want to have in the source blog, not in the destination blog. So I’d like to add the category, instead of logging in to the destination blog and deleting the post there. But never mind, this is a nice to have!

    What concerns me more by now is that I can’t manage to crosspot the featured images. Is there a way to achieve this?

    Thanks so much!

    Plugin Author Meitar

    (@meitar)

    Featured images are not yet implemented in the current stable release (version 0.3.2). That’s a feature slated for implementation at some future time. Patches always welcome. ?? See my other plugin, Tumblr Crosspostr, for some code that contains featured image cross-posting (to Tumblr) if you’d like to try your hand at patching for this yourself.

    Thread Starter fabian.schmid

    (@fabianschmid)

    Alright, thanks, I might have a go at it in a couple of days.. gonna let you know if I will come up with anything usable;)

    Thread Starter fabian.schmid

    (@fabianschmid)

    This is certainly not complete, like with importing posts from WordPress.com back to self-hosted blogs etc., but I’ve just quickly added basic support to crosspost featured images. All I had to do was replacing your TODO-comment on line 393 with this: 'featured_image' => wp_get_attachment_url(get_post_thumbnail_id($post_id)) and adding a comma at the end of line 391. I think that’s fine without a standard diff/patch file ??

    Plugin Author Meitar

    (@meitar)

    Does that one-liner successfully transfer the media file across blogs or just the URL reference?

    Thread Starter fabian.schmid

    (@fabianschmid)

    It magically transfers the media file across blogs. I have only tested this with self-hosted to self-hosted-with-jetpack.

    Plugin Author Meitar

    (@meitar)

    Great. ?? I’ll defintately look at that for the next version. Thanks for the heads up about how simple that will be.

    Thread Starter fabian.schmid

    (@fabianschmid)

    No worries, thank you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Sync posts from source blog to destination blog?’ is closed to new replies.