Experimenting with Webmention

Published on

Webmention is a simple way to notify any URL when you mention it on your site. From the receiver’s perspective, it’s a way to request notifications when other sites mention it.

From https://www.w3.org/TR/webmention/

The idea I have in mind is having a personal timeline (like on Twitter) and post my own content here. It’s like a microblog in a blog if that makes any sense.

Getting started

Useful resources

Installation

Head over to https://webmention.io and follow the setup instructions.

I used my email as an authentication method, by putting it in the <head> of this website.

After signing up with my domain cri.dev, I received an activation code that enabled webmentions.

With these link tags, I am now able to accept webmentions

<link rel="webmention" href="https://webmention.io/cri.dev/webmention" />
<link rel="pingback" href="https://webmention.io/cri.dev/xmlrpc" />

Usage in eleventy

Pretty straightforward if you follow the instructions in this excellent repo

https://github.com/maxboeck/eleventy-webmentions

Here, have a slice of pizza 🍕