WP Manifestindependent plugin directory
manifest / social / sync-mastodon

Sync Mastodon

Fetch posts from a Mastodon RSS feed and add them to a custom post type

by Ross Wintle · github.com/rosswintle/sync-mastodon

11stars
2forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/rosswintle/sync-mastodon/archive/refs/heads/main.zip

Declares an update source (https://github.com/rosswintle/sync-mastodon), so updates arrive through the plugin's own updater.

From the readme

Fetch posts from a Mastodon RSS feed and add them to a custom post type This plugin syncs Mastodon posts from a Mastodon RSS feed into a custom post type. This plugin: runs automatically using either wp-cron or manually using wp-cli uses Mastodon RSS feeds and needs no authentication rates-limits fetches allows you to choose an author for synced posts sideloads images from your Mastodon posts Note that this plugin does a one-way sync from Mastodon to your WordPress install. You can add your own posts in WordPress but they will not be cross-posted to Mastodon. Once you have installed the plugin you will need to go to Settings - Mastodon Sync and enter your RSS feed URL If you want to do automatic sync then you can then also turn on the Auto-sync option. If you can use WP-CLI then you can make use of the wp-cli sync-mastodon command to do an import from Mastodon. This works particularly well for large first-time imports before you enable the automatic sync. But you could also use the system cron to run this command instead of WP cron. Things I have in mind for future development: Better front-end validation in admin screens and meta boxes B

Read the full README on GitHub →