11

Making the blog part of the Fediverse and IndieWeb

 4 years ago
source link: https://blog.shadura.me/2020/12/30/blog-on-the-fediverse/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Andrej’s notes

I’ve just made my blog available on the Fediverse, at least partially.

Yesterday while browsing Hacker News, I saw Carl Schwan’s post Adding comments to your static blog with Mastodon(m) about him replacing Disqus with replies posted at Mastodon. Just on Monday I was thinking, why can’t blogs participate in Fediverse? I tried to use WriteFreely as a replacement for Pelican, only to find it very limited, so I thought I might write a gateway to expose the Atom feed using ActivityPub. Turns out, someone already did that: Bridgy, a service connecting websites to Twitter, Mastodon and other social media, also has a Fediverse counterpart, Fed.brid.gy — just what I was looking for!

I won’t go deeply into the details, but just outline issues I had to deal with:

  • Bridgy relies on microformats. While I had some microformats and Schema.org microdata already at both blog and the homepage, they were not sufficiently good for Bridgy to use.
  • Webmention: I had to set up https://webmention.io to act as Webmention host for me.
  • I ran into an issue with Mastodon being more picky about signatures — which the author Ryan Barrett promptly fixed.

The end result is not fully working yet, since posts don’t appear yet, but I can be found and followed as @[email protected].

As a bonus I enabled IndieAuth at my website, so I can log into compatible services with just the URL of my website.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK