|
|
|
|
|
by incanus77
1927 days ago
|
|
I have a ~200 LOC Hugo partial I've built up which reads in the webmentions via jQuery, then parses them out into Twitter, Micro.blog, or "other". If at least one of either/or Twitter or Micro.blog, pull out the root URL and show that at the top of the comments to encourage discussion. Otherwise, parse out like, repost, or plain old mention and add an icon. I also have an HN parser for posts like this one[1] if they've hit a certain comment threshold. I don't have any problem with sharing it, but I just haven't published it anywhere yet on account of not wanting the maintenance or support overhead. I think all of it can be gleaned from the page source, anyway. [1] https://justinmiller.io/posts/2019/09/21/pi-gadget/ (see bottom) |
|