惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
阮一峰的网络日志
阮一峰的网络日志
T
The Blog of Author Tim Ferriss
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
宝玉的分享
宝玉的分享
L
LangChain Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Last Week in AI
Last Week in AI
博客园 - 司徒正美
M
MIT News - Artificial intelligence
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - Franky
B
Blog
V
V2EX
J
Java Code Geeks
D
Docker
博客园 - 叶小钗
The Cloudflare Blog
量子位
博客园_首页
MongoDB | Blog
MongoDB | Blog

Dallas Lu

一些没有意义的事情 博客程序的一次大重构 OpenWRT 使用 udp2raw 对抗 WireGuard 阻断 如何证明你是原创作者 Nginx 泛域名配置的隐患与对策 WISeID S/MIME 证书 V2EX 刑满释放记 使用 Radicale 在 Ubuntu 24.04 中搭建 vCards CardDav 服务 邮件服务的域名成功从 SURBL 黑名单移除 The Domain of Mail successfully removed from SURBL blacklist 网站多语言的设计细节 Website Multilingual Design Details 网站评论系统的目前进展和展望 在公网使用 iptables 转发端口时保留客户端 IP Retaining Client IP with iptables Port Forwarding on Public Networks 邮件投递平台 Postal 的使用经验 Experience with Using Postal, the Mail Delivery Platform 自建 Postal 完美替代 SendGrid Build Your Own SendGrid: Postal SMTP Server 互联网在崩塌吗,然后呢 Is the Internet collapsing and then what 在 SvelteKit 应用中使用 JSON-LD Using JSON-LD in SvelteKit Applications 网页的打印样式应该怎么写 How to write print styles for web pages “茴字的四种写法”之 IP 与域名 Trivia: Special ways of writing IP and domain names 怎么伪造 Git 提交的时区 How to fake the timezone of a git commit 供大众交流的论坛和其它替代产品还是不好用
Current Progress and Outlook of the Website Comment System
Dallas Lu · 2024-08-08 · via Dallas Lu

More than a year ago, I researched the status of comment systems at the time and ultimately chose a traditional comment system for the website. To date, there have been some new developments and new ideas.

Progress

Integrating Webmention

For research purposes, I integrated Webmention. For convenience, I chose webmention.io. Through some bridging services, more scattered interaction information can be actively collected. For example, if you post an article link on social media and receive a thousand likes, these likes can be displayed on the article1.

Theoretically, through bridging, more types of content can be collected, such as discussion interactions on Hacker News. If Nostr is integrated, the website itself would not need to connect to the Nostr network.

Email Integration

Email Notifications

Traditional comments and emails have always been a classic combination. To better send comment-related email notifications, I migrated from SendGrid to Postal.

In the early days, the email notifications of Douban’s DM only had one sentence: “You have a new message.” I found this very frustrating. Since the email is already sent, why not mention who sent it and what was said? It forced users to log into the site to view detail. Fortunately, the blog community is generally more open. If your comment on a website is mentioned or responded to, you usually receive an email with full details.

Since full details are already sent, why can’t you reply directly? Too many notification emails come from noreply@*, except for some merchants’ ticket systems and services like Github. In this regard, using Github Issues to implement a comment system is quite ingenious.

Email replies are not difficult to implement. Modern Email platforms can forward the parsed email content to a specified Http Endpoint2.

Using email for a comment system can make discussing blog posts feel like using a mailing list. Nested comments can be conveniently handled on the page as well.

Going further, why can email only be used to reply to notifications? Perhaps it can be used proactively; you could open your email client and send an email to comment on an article or someone else’s comment. People who prefer to communicate via Email are in luck, finally.

Next to the comment button, I placed a mailto protocol link. Clicking it opens the email client, allowing users to send an email instead of filling out the form on the page.

Visitor Identity

If you comment via email, your email address is naturally valid. The website can display a verification icon to indicate that this person used a real email.

Of course, this does not mean that the email address of those who comment via form is invalid. But who knows? The email field can be filled with anything, including someone else’s email or a fake one.

Since email addresses may not be real, I allow you not to fill in the email field at all. Enjoy the privacy and the joy of surfing the web, with the trade-off being a dog icon next to your information, because nobody knows you’re a dog on the internet.

Since even email can be left blank, the name becomes even less important. However, these incomplete replies will be subject to certain sending restrictions and may require moderation.

Sensitive Information

A comment typically has only two sensitive fields: IP and Email. My article content is based on markdown files, making it very easy to open-source. However, sensitive information in local comments needs to be encrypted and decrypted with a key when used.

Outlook

Improvements

Performance and useful small features are always targets for improvement. For example, paginated loading, voting, search, etc. And, a better notification policy. During my time using WordPress, the site was often bombarded with spam comments, and my inbox was flooded with notification emails.

Integration

I believe that comments on articles are an extension of the article content. If there are no comments, one might as well read the article in an RSS reader, on a public account platform, or in marketing screenshots. Besides contacting the author, there’s no need to visit the article. So, scattered information can be collected, allowing readers to assess the article more intuitively.

Static websites are very popular now, and more often, people need a third-party comment system. Considering the shutdown of Duoshuo, the risks of using a third-party comment system must also be considered. If I were to create a comment system, the most important point would be that data can be exported at any time, or even in real-time, because my current comment system is based on file storage and can be pushed to a git repo.

Conclusion

Personal websites or blogs have become a nostalgic toy. Recently, I saw people still tinkering with third-party comment systems3 or developing their own programs and comment systems4. Nostalgia doesn’t necessarily mean retro; there should be more variations.


  1. Jason. 透過 webmention 來搜集 blog 的社群迴響. Jason’s Web Memo. 2022-09-12. ↩

  2. Tautvydas Tijūnaitis. Enable the use of email replies to post comments or messages. Mailersend. 2022-05-25. ↩

  3. ashin. 个人博客新增云评论留言板,欢迎大家测试. V2EX. 2024-08-06. ↩

  4. Darmau. This site has evolved to the third generation. Darmau. 2024-08-05. ↩