TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Automatically sending Webmentions from a static website

75 pointsby chrisloover 4 years ago

8 comments

superkuhover 4 years ago
I implemented webmentions for my static site back around the end of 2019. My solution for receiving on my static site was to just log POSTs and review them with my eyes. Then if someone has actually sent a webmention (as opposed to pingback spam) I just use curl to respond. There&#x27;s no need to have anything automated at all.<p>ref: &quot;A static, manual system for <i>receiving</i> webmentions (and pingback) with nginx&quot; <a href="http:&#x2F;&#x2F;superkuh.com&#x2F;blog&#x2F;2020-01-10-1.html" rel="nofollow">http:&#x2F;&#x2F;superkuh.com&#x2F;blog&#x2F;2020-01-10-1.html</a>
评论 #24768761 未加载
评论 #24767376 未加载
abdullahkhalidsover 4 years ago
Why do you need an always on service for this? Just send the webmentions whenever you compile your static website - that&#x27;s the only time content actually changes.<p>On Pelican, you can do it using this plugin <a href="https:&#x2F;&#x2F;chezsoi.org&#x2F;lucas&#x2F;blog&#x2F;pelican-pingback-and-webmentions.html" rel="nofollow">https:&#x2F;&#x2F;chezsoi.org&#x2F;lucas&#x2F;blog&#x2F;pelican-pingback-and-webmenti...</a>
评论 #24766290 未加载
qubyteover 4 years ago
I also use Remy Sharp’s code, but as a library. I have netlify call this glitch [1] I wrote on successful deploy. It compares the new sitemap.txt with one it has cached and scans new URLs which match a pattern for mentions to dispatch.<p>1: <a href="https:&#x2F;&#x2F;glitch.com&#x2F;edit&#x2F;#!&#x2F;lean-send-webmentions" rel="nofollow">https:&#x2F;&#x2F;glitch.com&#x2F;edit&#x2F;#!&#x2F;lean-send-webmentions</a>
leephillipsover 4 years ago
I like the idea, but I wonder if I should bother: in other words, are people actually using this? Is this the new pingback, because that seemed like a good idea, too, but it never got off the ground.
评论 #24765158 未加载
评论 #24765162 未加载
评论 #24767761 未加载
makebossover 4 years ago
This is a great idea, wonder how I&#x27;ve missed this.
xwdvover 4 years ago
I’ve never even heard of Webmentions. Should I have?
评论 #24766093 未加载
dane-pgpover 4 years ago
It still amazes me that people have managed to create a viable system of decentralized comments across independent, statically-generated websites. Perhaps I should heed the (humorous) warning by Ben Werdmuller here, though:<p><a href="https:&#x2F;&#x2F;aaronparecki.com&#x2F;2013&#x2F;05&#x2F;21&#x2F;4&#x2F;xkcd#mentions" rel="nofollow">https:&#x2F;&#x2F;aaronparecki.com&#x2F;2013&#x2F;05&#x2F;21&#x2F;4&#x2F;xkcd#mentions</a>
评论 #24767513 未加载
ngcc_hkover 4 years ago
I am more interest in the action flow then the webmention