This blog is now on the Fediverse!
You can now have this blog federated to your social media site by following @blog@shkspr.mobi
If you're on Mastodon, it should look something like this:
You should be able to follow it on Lemmy, kBin, PixelFed, and some cool social network I've never heard of.
How
This blog runs on WordPress. Thanks to the tireless work of Matthias Pfefferle, there's now an official WordPress ActivityPub plugin.
It's pretty easy to set up - just install and click on settings. But there are a few niggles you should know about if you run a blog in a subdirectory - for example, this site uses /blog
First, you'll need to add the following to the .htaccess
file in your website's root:
RedirectMatch "^\/\.well-known/(webfinger|nodeinfo|x-nodeinfo2)(.*)$" /blog/.well-known/$1$2
That means if someone visits example.com/.well-known/webfinger
to find your ActivityPub account, they'll be automatically redirected to example.com/blog/.well-known/webfinger
Secondly, you might need to change your blog's ActivityPub username. For example, I log in to this blog using the username "Master_Control_Program" - but I don't want that displayed as the user. So I went to Settings → ActivityPub → Settings and unticked the "authors" box. I then gave my whole site the unsurprising name "blog":
If you do have multiple authors, each one of them can have their own unique Fediverse account.
Why
You can follow this blog using RSS or Atom - that means you need a feed reader configured to pull from my site every time you want to see if there's an update.
Or you can subscribe via email - every time I publish a blog post it will appear in your inbox.
And, now, if you spend all day on social media you can get my blog's updates directly in your feed.
Fancy features
It is early days for the plugin, but there are a few nice features.
If you hit reply to a blog post in the Fediverse, it become a comment on my blog. This is similar to how Brid.gy syndicates comments.
You can see how many people followed you. And you can remove followers if you want to.
If you don't want to share the entire post, there are several settings which let you choose exactly what you do want shared.
Editing the WordPress post also send the edit out to the Fediverse.
The "joined" date is the date of your earliest blog post. See if you can find my oldest one!
Issues
Aside from a few glitches when setting up, there are a few points to be aware of.
There's no way to set a unique user avatar - it will go with whatever your blog is set to display.
It will only show blog posts from after you installed the plugin. So you can't scroll backwards into your archives.
Although you can see how many followers you have, I don't think there's a way to expose that to your users. And there's no simple way to say "Follow me at…"
As I mentioned, replying to a post converts that reply into a comment. But at the moment it doesn't support threaded comments. If I reply to a comment on the blog, it doesn't get sent back to the user as a reply on the Fediverse. Similarly, there's no way to track how many people repost or favourite your content.
ActivityPub doesn't support inline images. And some clients don't support formatting. So a federated blog post can look a bit weird.
If someone reads a blog post on the Fediverse, then they're not reading it on my website. I don't run any adverts - but I might miss out on people clicking around and reading other articles.
So I think I might only post an excerpt onto social media. I'm not sure yet. Thoughts?
What's next?
If you've seen this post Federated over ActivityPub - please reply! I'd love to know how far it has travelled.
Willem van den Ende says:
Good stuff! Post summaries in the feed, I think. The replying in comments vs on ActivityPub is an interesting dilemma. I can see some trade-offs: Pro comments: comments stay with the blog post and are visible for longer Pro activity pub replies: threaded and can draw in more people
Eventually it might be worth harvesting the replies on ActivityPub and combining them with the comments on the same page (not trivial, I guess).
I'm interested in this - thinking of reviving my old Wordpress blog, and maybe starting a new one on a specific topic.
J. L. Gatewood said on starrwulfe.xyz:
Welcome to the party! I used the version of this plugin with the WordPress version of my blog before changing to this Golang iteration; I might be tempted to cross back if I can learn how to optimize speeds!
natbas says:
@blog அருமை!
Adrian Schönig :kangaroo: says:
@blog Read this blog its entirety in Ivory. Worked well despite the lack of images and section headers. Pretty cool!
Григорий Клюшников says:
So can I comment on this from my very own ActivityPub server I made from scratch?
(just saw your comment on HN)
jxs says:
@blog images from the post are working in #Honk.
More comments on Mastodon.