Skip to content

Send Webmentions from all posts in h-feed post deploy

Jamie Tanna requested to merge feature/postdeploy-webmentions into develop

As my website is static (with a long deploy pipeline), I have no easy ability to send a Webmention after I've created a post.

However, because I have the /post-deploy integration set up in GitLab, this allows me to extend this endpoint to perform the required webmention notifications via this endpoint.

To parse which posts to notify on, we can use the h-feed from /, as it'll contain all the posts that I want people to see, and is paginated, so we can traverse through them easily.

This parsing can be handled by microformats.io (in this case, the PHP parser) so I don't have to look at doing this parsing myself, and the sending of webmentions can be handled by mention.tech, as that has the capability to mention for all URLs.

Plus, send them asynchronously!

Closes #8 (closed).

Edited by Jamie Tanna

Merge request reports