Webmentions
Webmentions are a modern standard for notifications across websites. When someone links to your content, you can receive a notification automatically - similar to @mentions on social media but decentralized.
How Webmentions Work
- Someone publishes content linking to your site
- Their server sends a webmention to your endpoint
- Your server verifies the link exists
- You can display the mention as a comment, like, or reply
Setting Up Webmentions
Static Sites
For static sites like this one, you'll need:
- A webmention endpoint service (like webmention.io)
- Your site configured with the endpoint in HTML:
<link rel="webmention" href="https://webmention.io/example.com/webmention">
- JavaScript to fetch and display mentions
Processing Mentions
When you receive webmentions, they can be:
- Likes - When someone bookmarks or likes your content
- Reposts - When someone shares your content
- Replies - When someone responds to your content
- Mentions - General references to your content
Benefits
- No platform lock-in
- Works across any website supporting the standard
- Builds a decentralized conversation network
- Preserves mentions even if other sites disappear
Webmentions are a key part of the IndieWeb infrastructure, working alongside Microformats to create a connected, independent web.