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
- https://www.w3.org/TR/webmention/#abstract-p-1
- https://indieweb.org/
- https://en.wikipedia.org/wiki/Webmention
- https://webmention.io/
- https://alistapart.com/article/webmentions-enabling-better-communication-on-the-internet/
- https://css-tricks.com/indieweb-and-webmentions/
- https://aaronparecki.com/tag/webmention
- https://matthiasott.com/webmention
- https://sebastiandedeyne.com/webmentions-on-a-static-site-with-github-actions/
- https://sia.codes/posts/webmentions-eleventy-in-depth/
- https://github.com/maxboeck/eleventy-webmentions
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