22/01/2022

2022/01/22#p2

0 comments: click to read or leave your own

I spent some time last night, and into the early hours, improving the webmention experience within (b)log-In.

Inspired by the plugin for WordPress, I have provided a means to manually trigger a webmention for those who do not have the ability to send one from their site.

Visiting the webmention endpoint directly will now show a form when no source or target URL are passed to it:

 Endpoint webmention form

It is then a simple matter of pasting in those links and hitting 'Send'.

 Manual webmention link

Under each comment form there is now a link to send a webmention, this takes you to the endpoint form with the permalink of that post filled in as the target URL:

Endpoint with target URL filled

Just paste in the URL of the post that mentions it and hit 'Send' — nice and easy.

I need to make further tweaks to what is displayed upon submitting a mention 1 but it all works and is ready to be used.


  1. especially if an error occurs like the target URL can't be found at the link provided 

Leave a reply



Cancel comment

You can also:

Reply by email Reply by email Send a webmention Send a Webmention

2022/01/22#p4

0 comments: click to read or leave your own

The endpoint logic was intact, it was just that my testing exposed a specific case I hadn't accounted for when sending mentions between posts on the same day – that has been fixed.

I've also reworked the endpoint to make the logic flow a little better and catch more potential errors.

Leave a reply



Cancel comment

You can also:

Reply by email Reply by email Send a webmention Send a Webmention

Colin Walker Colin Walker colin@colinwalker.blog