Notes

💬 Comment on https://brainbaking.com/post/2021/05/beyond-webmention-io/

I had a pretty wild debugging ride when implementing go-jamming 😵‍💫.

Problem: go-jamming wasn’t sending webmentions.

There were two root causes to this problem, one on my side, and one on go-jamming’s side.

go-jamming checks the site’s RSS feed where to send webmentions. It expects the raw HTML in the post item’s description tag. But Hugo, by default, puts a summary of a post in there. I could fix that by adapting my theme.

When that was fixed, go-jamming only found inbound URLs to my site. Turns out, the way my theme implemented link rendering would add a bunch of newlines (prettier, why would you do this to me?), that the regex wasn’t capturing. I could fix that in my theme as well.

At least I now know how to debug a go project 👍.