This page permanently redirects to gemini://jorgesanz.net/posts/2023-11-20-getting-feedback-with-webmentions/.

Getting feedback with webmentions

Jorge Sanz | 2023-11-20 | 520 words | techie, meta

🗣 Reply

This is a reply to Indiewebify me! And don't forget my webmentions![1] by Christian Engel (webmention) and Webmentions in three SSGs: Part 3[2] by Bryce Wray (webmention).

=> 1: https://chringel.dev/2022/07/indiewebify-me-and-dont-forget-my-webmentions/ | 2: https://www.brycewray.com/posts/2020/04/webmentions-three-ssgs-3/

--=--=--

Since I moved from Wordpress to Jekyll back in 2012[3], having comments in my site has been a lost battle to me. For some time I enabled a third party provider (Disqus[4]) but that feeling of leaving my readers content to a provider I did not control was too much of a burden to me and I ended up removing completely any chance for commenting on my site for a very long time.

=> 3: /posts/2012-05-29-mudanza-digital/ | 4: https://disqus.com/

Webmentions[5] on the other hand has been a W3C standard since 2017. They are not super popular and yet, I've seen them many times so finally I decided to take a look and how would it be to implement it in my website.

=> 5: https://www.w3.org/TR/webmention/

Some weeks ago Christian's excellent post[6] came to my attention and the process he unraveled seemed approachable to me so I decided to give it a try.

=> 6: https://chringel.dev/2022/07/indiewebify-me-and-dont-forget-my-webmentions/

The steps are pretty much as he explained in his post:

  1. Add the appropriate metadata to my website to allow to log into a few indieweb[7] services, most relevantly webmention.io[8], the provider I've decided to act as my backend.

  1. Add the appropriate markup to my Hugo theme template to enrich it with microformats[9] so my posts can be parsed correctly. This includes the syndication tag for every post I link to a Mastodon thread.

  1. Start converting reactions to my Mastodon posts into webmentions with https://brid.gy[10]. This is going to be my main source of interactions, I think.

  1. Extend my Hugo theme template to allow me to refer to posts I reply (like this one) so I can generate webmentions easily.

  1. Adapted the code shared by Bryce Wray on his series[11] about this topic to run a local process that gathers the webmentions into a data folder (one file per post) so I can render them at build time.

I know this seems a bit too convoluted. But for me the benefits are very clear: First, I allow anyone on the Internet to interact with my content in an open and decentralized way. And secondly, I collect all those interactions as data that is then added to my posts at build time.

=> 7: https://indieweb.org/ | 8: https://webmention.io | 9: https://indieweb.org/microformats | 10: https://brid.gy | 11: https://www.brycewray.com/posts/2020/04/webmentions-three-ssgs-3/

Another very specific aspect of my implementation is that my hosting service[12] for this website is a bit peculiar and it does not allow to load content from external services (no images, no JavaScript, no API calls, etc). That is actually good for my readers because the website is light, fast, and with very little of the bloat that characterizes the "modern web". But for for webmentions that means:

=> 12: https://srht.site/

Anyways, are you running a blog or site with a static generator and using a different approach to collect and render comments? Have you considered adding webmention support?

=> 13: https://github.com/PlaidWeb/webmention.js/

--=--=--

🗣 Reactions

Want to comment anything? Continue the discussion here[14] or contact me![15]

=> 14: https://mapstodon.space/@jorgesanz/111443394965644734 | 15: /contact

Likes (3)

=> marcelinollano

=> Javier

=> Sandro Santilli

Reposts (2)

=> Sandro Santilli

=> Javier

Replies (4)

=> Sandro Santilli on Nov 20, 2023

=> Jorge Sanz on Nov 20, 2023

=> Javier on Nov 20, 2023

=> Christian Engel on Nov 23, 2023


=> 🏠 Home | 📔 Gemlog

=> This capsule is in LEO | Next Page | Last Page | Random Page

Proxy Information
Original URL
gemini://jorgesanz.net/posts/2023-11-20-getting-feedback-with-webmentions
Status Code
Success (20)
Meta
text/gemini;lang=en
Capsule Response Time
202.627959 milliseconds
Gemini-to-HTML Time
2.221668 milliseconds

This content has been proxied by September (3851b).