Import from Mastodon IndieWeb Addions
Adds some IndieWeb improvements to Jan Boddez's Import From Mastodon WordPress plugin.
by Dinis Correia · github.com/diniscorreia/import-from-mastodon-indieweb-addons
★ 2stars
0forks
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/diniscorreia/import-from-mastodon-indieweb-addons/archive/refs/heads/main.zipFrom the readme
Import From Mastodon IndieWeb Addons
This plugin makes Jan Boddez’s Import From Mastodon WordPress plugin play nicely with the Post Kinds and Syndication Links IndieWeb plugins.
What does it do?
- Adds a syndication link to a toot or reply when it’s imported
- Sets the correct posts kind for favourites (“likes”), boosts (“reposts”) and replies
- Saves microformat data for each post kind
- Clean up the post content (because we are storing the microformat data, when can use Post Kinds to display it instead of having it on the content)
Some opinionated choices
- The content of boosts and favourites is removed, only a link and some meta data on the toot is kept (author, date, etc.)
- Titles are removed as well, as it seems unnecessary for such short content
- Because of the above, some posts end up having no title or content, just the microformat data stored in the post meta
- Replies to your own toots are also removed; ideally these should be backfed to your site and published as comments on the original post (using something like Brid.gy, for instance)
Installation
Please bear in mind this was written for personal use and there might be errors. For this to work you’ll obviously ne