ActivityPub for WordPress
ActivityPub for WordPress
@activitypub.blog@activitypub.blog

News about the ActivityPub plugin for WordPress.

22 posts
529 followers

Blog

  • From Toot to Post: Mastodon Migration Made Easy

    If you’ve been posting on Mastodon and want to bring those posts into your WordPress site, the new importer makes that possible. It’s a beta feature, but it already handles the basics well—and helps you keep more of your content in one place.

    Keep What You Create

    Social platforms can come and go—or just change in ways you didn’t expect. Maybe your Mastodon server shuts down, or the people running it move on. When that happens, it’s easy to lose your old posts and the history you’ve built up.

    The Mastodon importer helps you take control by bringing your posts into your WordPress site, where you own the content and can decide how it’s stored, shared, and presented. You’re not just copying things over—you’re giving your content a more permanent home.

    Getting Started

    The import process is user-friendly and follows a clear workflow:

    1. Log into your Mastodon account and go to Preferences > Import and Export.
    2. Request your archive and download the ZIP file when it’s ready.
    3. Open the WordPress Mastodon Importer and upload your file.
    4. Choose an author for your imported posts and decide whether to include media files or just the text.

    Once uploaded, you can assign imported posts to a specific author and choose whether to include image attachments with your posts or just import the text content.

    The importer processes your posts from the Mastodon outbox.json file, filtering to include only public posts while skipping boosts. Each post maintains its original publication date, content, and media. If your posts include images, video, or audio, the importer brings those in too and adds them to the post automatically.

    Your Posts, Rebuilt

    The importer transforms your Mastodon content into a rich block editor experience. Your posts convert into proper paragraph blocks while maintaining their original formatting. Images are organized into gallery blocks with captions intact, while videos and audio files transform into their respective media blocks for optimal playback.

    Hashtags from your Mastodon posts are converted to WordPress tags, preserving your content’s organizational structure and discoverability.

    When a post is part of a conversation, the importer adds a reply block at the beginning of your post that embeds the original post you were responding to. This keeps the conversation flow clear and provides context for your response.

    All these blocks remain fully editable after import, so you can tweak layouts or adjust media presentation as needed.

    For classic editor users, the importer keeps things simple with standard shortcodes for media. It’s not as fancy as the block version, but it should work reliably with your existing setup.

    It’s a Beta—Your Feedback Counts

    The Mastodon importer is still in beta, and there’s more work ahead—especially when it comes to large archives and better handling of replies. We’ve followed WordPress importer best practices, but real-world use is where things really get tested.

    Tried the importer? Let us know how it went—what worked, what didn’t, and what you’d love to see next. Your feedback helps shape where we take it from here.

  • V5.8.0 – If it’s on the Fediverse, you can embed it.

    This update introduces two exciting improvements: brand-new email templates and personalized notification settings.

    Emails now deliver much richer content—mentions and direct messages include the full post, and the refreshed design feels modern and refined. Additionally, new follower notifications feature a profile card, making it easier to see who’s interacting with your content.

    We’ve made several improvements around Embeds and Importing: Fediverse content embedding now has fallback support, so even if native oEmbed responses are unavailable, embeds will appear consistently. The Mastodon importer has also been significantly enhanced—it now imports all media types, supports user blocks, and automatically embeds replies in imported conversations, making transitions smoother and content richer.

    For Email Notifications, you’ll now receive alerts whenever someone mentions you in the Fediverse. Direct message notification emails have been upgraded with embedded message previews, and follower notification emails received a visual refresh with helpful meta details included.

    We’ve also refined User Interactions and Moderation by integrating WordPress’s disallowed list to prevent unwanted ActivityPub interactions. Notification preferences have become user-specific, allowing more personalized control over alerts and interactions.

    Additionally, we’ve improved Compatibility and Stability, including better support for Multisite Language Switcher, resolving PHP warnings during Mastodon import processes, enhancing user context handling in Global-Inbox actions, and ensuring reply links and popup modals are properly translated for logged-out visitors.

    Full Changelog

    Added

    • An option to receive notification emails when an Actor was mentioned in the Fediverse.
    • Enable direct linking to Help Tabs.
    • Fallback embed support for Fediverse content that lacks native oEmbed responses.
    • Support for all media types in the Mastodon Importer.

    Changed

    • Added WordPress disallowed list filtering to block unwanted ActivityPub interactions.
    • Mastodon imports now support blocks, with automatic reply embedding for conversations.
    • Tested and compatible with the latest version of WordPress.
    • Updated design of new follower notification email and added meta information.
    • Update DM email notification to include an embed display of the DM.
    • Updated notification settings to be user-specific for more personalization.

    Fixed

    • Add support for Multisite Language Switcher
    • Better check for an empty headers array key in the Signature class.
    • Include user context in Global-Inbox actions.
    • No more PHP warning when Mastodon Apps run out of posts to process.
    • Reply links and popup modals are now properly translated for logged-out visitors.

    Downloads