有没有不需要javascript的博客网站评论系统?

发布于 2024-11-13 11:54:54 字数 326 浏览 4 评论 0原文

我一直在为我的博客网站寻找合适的评论系统。我使用 php 和 mysql 从头开始​​构建我的博客引擎,不使用 wordpress、joomla 或类似的东西。我希望即使用户禁用了 javascript,评论系统也能正常运行。

我之前看过 Disqus,但事实证明我需要在现有代码中嵌入 Disqus 生成的一些 javascript 文件,我认为这意味着如果关闭 javascript,评论部分将不可用。看起来其他一些使用 Disqus 的网站在关闭 javascript 时也会出现此问题。

如今,忽略关闭 javascript 的用户/不懂技术的不知道如何打开 javascript 的人是否很常见?

I have been looking for a proper comment system for my blogging site. I built my blog engine from scratch using php and mysql and do not use wordpress, joomla, or anything like it. I want the comment system to be functional even if a user has javascript disabled.

I was previously looking at Disqus, but it turns out that I am required to embed some javascript files produced by Disqus in my existing code, which I assume means that the comment section will be unavailable if javascript is turned off. It looks like some other websites that use Disqus have this problem when javascript is turned off.

Is it common nowadays to ignore users who turn off javascript/non-tech-savvy people who do not know how to turn javascript on?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

來不及說愛妳 2024-11-20 11:54:54

我理解你的恐惧,但我也自己建立了一个评论系统。甚至还得到了线程化的评论。实际上,只需用用户名、电子邮件和评论填写表单,然后在数据库中为其分配时间戳和 ID 即可。对于垃圾邮件防护,您可以使用:

  • OpenID,当然它还有其他好处
  • ,例如
  • akismet.com/" rel="nofollow">Akismet,作为最后的手段

评论的最大困难不是格式,而是垃圾邮件。

I understand your trepidation, but I've slapped together a commenting system on my own also. Even got threaded comments to work. Really, it's just a matter of filling a form with username, email and the comment, then assigning it a timestamp and ID in your database. For spam protection you can use:

  • OpenID, which of course has other benefits
  • stuff like Akismet, which filters the data posted
  • captchas as a last resort

The biggest difficulty with commenting is not the format, it's the spam.

我只土不豪 2024-11-20 11:54:54

那么,为什么不推出您的自定义评论系统呢?毕竟,您已经创建了自己的自定义博客引擎:)。

使用phpBB

Well, why not roll out your custom comment system? After all, you've created your own custom blog engine :).

OR

Use phpBB

赏烟花じ飞满天 2024-11-20 11:54:54

这实际上可以非常容易地完成,您只需使用良好的 ol' 表单帖子...

http://www.javascript-coder.com/html-form/html-form-tutorial-p1.phtml

现在如果没有 javascript 它不会那么性感,但它'会完成工作的。

It can be done very easily really, you just have to use good ol' form posts ...

http://www.javascript-coder.com/html-form/html-form-tutorial-p1.phtml

Now it won't be as sexy without javascript but it'll get the job done.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文