Our great sponsors
-
IndieGo
Tiny go api that serves your websites comments. The comments are stored in a lightweight sqlite database.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Since I already have a small custom service running for the comment section on this site, I decided to add support to it for receiving webmentions. I refactored the comment system quite a bit to make it more modular and extendable, to allow me to add webmentions
Luckily I did not have to implement any of this myself apart from some glue code to fit it together: I used the library gocron for scheduling the regular intervals, gofeed for parsing the RSS feed and webmention for extracting links and sending webmentions.
Luckily I did not have to implement any of this myself apart from some glue code to fit it together: I used the library gocron for scheduling the regular intervals, gofeed for parsing the RSS feed and webmention for extracting links and sending webmentions.
Related posts
- Wildcard pattern matching. Review and feedback are MOSTLY welcome and appreciate 🥰
- I have this code On Playground.. It is very simplified... but when reading from file it breaks and cannot handle rune characters.... The strings.Replace function just stops working
- Gofumpt: It's like gofmt except more strict
- Learn how to scrape Trustpilot reviews using Go
- Is there a library similar to HTMLUnit in GO?