Webmentions revisited

General News

Summary

This is a very brief note for my own benefit - if you are even slightly interested I recommend following the links to find other authors who have done a much better job of explaining this! I had previously displayed WebMentions on posts via a script that ran on each pageview, queried webmention.io for mentions relevant to that page and rendered them - entirely based on the original approach documented by Sebastian de Dyne. In the most recent iteration of changes I have: • adapted the processing of inbound webmentions so they are pulled periodically into data files in the repo by Github actions, then processed when the site is built so they are baked into the rendered static pages • added a Netlify build plugin to push outgoing webmentions from my site to the sites I link to • a Github action that runs every thirty minutes and calls a retrieval script • the retrieval script which pulls webmentions from webmention.io and stores them as data files in the source repo for the site • a processing script that is run each time the site is built - this reads the raw webmentions and processes them into a form suitable for Hugo to digest • changes to page layouts to render a webmentions section For all of this I am indebted to Rowan Manning’s approach. Sending web mentions when the site is built This is the other side of the coin. I then found the approach documented by Mark Everitt which compares the RSS feed before and after the build and pushes webmentions for all new items, and have adapted his code.

Classifications

industries
Hospitality
applications
Web and Content Management

AskAI Classifications

Labels
Developer Tools DevOps Software SaaS

Linked Companies

GitHub, Inc.
$1M to $5M
Netlify
$10M to $25M
iRent
$1M to $5M