标签归档:Webmention

Re: Static Website Envy

In reply to Static Website Envy by Ton Zijlstra.

There are some things to consider before starting a project like that. There are some interactive aspects of this site that I need to keep working. Sending and receiving Webmentions, and allowing comments for instance. On the back-end I want to be able to keep posting through micropub, so that like now I can post from within my feedreader or my local notes directly to my site.

在开始这个计划之前需要考虑一些事情。
网站的一些互动功能我需要进一步完善。例如,发送和接收Webmentions,例如发送和接收 Webmention 以及允许用户评论;而对于后端部分,我希望能够继续通过 Micropub 发布内容,这样我就可以像现在一样,直接从我的订阅源或本地笔记中发布内容到我的网站。

我认为可以使用一种跳板/常驻机器来接管Micropub的发布需求,比如本地的树莓派或是NAS,充当一种中介的作用。当然,这意味着需要自行解决诸如NAT内网穿透/远程访问的问题,并建立CI/CD持续集成的系统。

I think a jump server can be used to take over Micropub endpoint publishing features, such as a local-lan Raspberry Pi or NAS/Home server, acting as an intermediary. Of course, this means that need to solve problems such as cross-NAT remote access by self, and get build the CI/CD release systems.

我个人认为,使用WordPress这样的动态CMS其实也自有独到之处。不同作者的需求并不同,毕竟出版作者不一定都是程序员。
我会将WordPress视作为类似Mastodon实例或是反恐精英CSGO服务器的东西,对于个人规模的发布用途,那么它的性能需求实际上比Mastodon小。
并且,对于我这样的数字艺术家,想要快速地发布想法,那么使用CMS上传媒体文件其实是会比较快捷的方式。尽管我也有在打算独立分离WP媒体库的想法。

Using a CMS like WordPress also has its unique features, that because many authors ideas logic and philosophy is difference. Must realized publisher author are maybe not programmer.
I would think of WordPress as something similar to a Mastodon instance or Counter-Strike gaming server, and for personal publishing usage, that performance occupancy are actually smaller than Mastodon.
If you’re Digital Artist (such as me) wanna fastly publish the ideas with uploads, CMS or say server endpoint is quick choose.
Although I really want to spin off WordPress’s media library.

我个人认为WordPress的CPT是一个很有意思的功能,
不过,似乎静态网站的话也可以实现?

I’m using the WordPress Custom Post Type features get build my self post types and I think that useful. But, static SSG is also can be achieve too this ideas.


Bookmarked https://desmondrivet.com/2026/07/24/static-envy-reply by https://desmondrivet.com/.

My static site generator is Eleventy. Posts are published by committing to the main branch. I wrote a basic Micropub server which piggy backs on this mechanism to publish (i.e. it “publishes” a post by committing to the main branch). Local comments are handled with staticman.

I receive webmentions via webmention.io. All the webmentions are pulled down and integrated with the site on every build.

Sending webmentions is a bit more complicated. I have an after-build step to send out all webmentions from all posts that haven’t already been sent.

All in all – complicated but fun 🙂

I like this!

网络提及送信悖论,鱼与熊掌不可兼得

感觉Webmention好冷清……

于是找了几个测试服务测试了一下,发现好多都卡在了之前添加的Captcha验证的部分!但是birdgy的留言却能发送过来。

所以Captcha的人机验证到底会不会影响Webmention发送?

看起来如果要保险一些,接收所有的Webmention,最好还是关掉人机验证的保护(因为Webmention确实是机器发送的……从某种程度来说)。

不过保留Antispambee这个蜜罐插件还是可行的。

但是这样一来,评论的垃圾箱也会随之爆满,影响数据库速度、增加查询的性能开销。我真的想不通这些垃圾评论是从何而来的?难道有人维护着一种清单、类似骚扰电话那样吗?好在这些垃圾评论发送的比较笨拙,有什么表就填什么,所以一般的蜜罐插件就足以应付将其拦截了。

我都想尝试一下Anubis防火墙了……好可爱的小女孩!

但是还是很担心这东西会不会影响Webmention送达率。正如Eltrac先生所说,它比较像邮件的平信或明信片,并不能够像即时通讯或者是社交媒体的挂号信形式那么准确地送达。况且,即使送达了,也不能确定对方是否能看到。


创立本域最早的时候,其实我就了解IndieWeb以及相关的技术了,但是那时候有几个问题而没有采用:

  • 一来还跑在FRP穿透方式的主机上运作,因为是穿透出来的有诸多技术问题没能解决,完全不现实;
  • 其次我的博客文章质量还没有那么高,我又不想混那种中文圈、更偏向避风港的作用(不过现在也有所改观了)
  • 那时候的站点主要发给国内的游戏水友,网站的定位也还不允许我用作国际交流的用途,没有这样的需求。当然后来也和这些水友走散了,那是个堕落时期,有很多人也已经不配称之为水友了。

所以最后,如果想要有效的传达信息,还是得要通过RSS或者其他的方式联系呐。。WordPress自带了评论系统,也算是一种备用方式吧。我还是很乐意接受到Webmention这样的回复方式的!这就像业余无线电一样的兴趣。

至于社交媒体……等我做艺术站再说吧。

浅谈Webmention

Webmentions「网络提及」是IndieWeb独立式网站运动的一部分技术实现。

IndieWeb使网络上的网站开放化而不受MEGA·CORP(大型企业)约束,而Webmention正是其中让网站之间跨站交流的方式之一,也是加入IndieWeb运动需要的方式之一。

Webmention可以视作为一种高级的Pingback/Trackback,
至少,在WordPress上表现是这样,后台处理就是当作Pingback/Trackback高级评论显示。是的,WordPress可以通过安装插件来支持Webmention,WP作为博客业界的行业标准,仍然是值得参考的。

习惯了现在的社交网络、尤其是基于手机app交互的社交网络,可能并不理解IndieWeb及其相关技术,则请假设现在的时间是2010年代。
IndieWeb技术的绝大多数操作及其相关应用还是用电脑交互比较合适,
事实上,这个技术也是在2010年代初期流行起来的提要方式。

继续阅读浅谈Webmention