This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan
<p>I love the idea of <a href="https://www.w3.org/TR/webmention/">Webmentions</a>, yet I've not had the time to implement it on my site. At a high-level web mentions let you comment, like and reply to other content on the web and have it be visible to that content without being centralised with tools like Disqus (which I am keen to remove from my site).</p>
<p>Web Mentions are split in to two components, the sender and the receiver. The receiver is the site that I am writing a post about and they might have something on their site that shows inbound links or reactions to their blog; and the sender is, well, me. I need to let the remote site that I have written or reacted to some content that they have created.</p>
<p>The rather awesome <a href="https://remysharp.com">Remy Sharp</a> created <a href="https://webmention.app/">webmention.app</a> to solve one part of the problem: sending pings. Remy's tool makes it easy to send 'pings' to potential receivers that I have linked to, by simply calling a CLI script.</p>
<p>I host my blog using Zeit using Hugo and the static-builder tool, so it was <a href="https://github.com/PaulKinlan/paul.kinlan.me/commit/541cf5db0b48b1eb75bedfa326406f887e57e1a9">relatively trivial for me to add in support for webmention app</a>. I just <code>npm i webmention</code> and then call the CLI version of the tool from my <code>build.sh</code> file - it really is that simple.</p>
<p>Now when I create a post, it should send a quick ping to all new URL's that I have created some content about their site.</p>
This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan