TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Automatically sending Webmentions from a static website

75 点作者 chrislo超过 4 年前

8 条评论

superkuh超过 4 年前
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 未加载
abdullahkhalids超过 4 年前
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 未加载
qubyte超过 4 年前
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>
leephillips超过 4 年前
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 未加载
makeboss超过 4 年前
This is a great idea, wonder how I&#x27;ve missed this.
xwdv超过 4 年前
I’ve never even heard of Webmentions. Should I have?
评论 #24766093 未加载
dane-pgp超过 4 年前
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_hk超过 4 年前
I am more interest in the action flow then the webmention