ExpressionEngine 评论导入到 Disqus

发布于 2024-08-16 12:33:02 字数 186 浏览 21 评论 0原文

有人解决过将默认 ExpressionEngine 注释导入 Disqus 的问题吗?我在 github 上找到了这个,但我不确定如何使用它,或者它是否有效。 http://gist.github.com/202802

Has anyone tackled importing default ExpressionEngine comments to Disqus? I found this on github but I'm not sure how to use it, or if it will work. http://gist.github.com/202802

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

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

发布评论

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

评论(4

扬花落满肩 2024-08-23 12:33:02

还有一个免费插件,仅将 Disqus 评论与 Expressionengine 集成 - http://devot-ee.com /附加组件/disqus

There is also a free addon which just integrates Disqus comments with Expressionengine - http://devot-ee.com/add-ons/disqus

街角卖回忆 2024-08-23 12:33:02

我最近在一个相当大的网站上使用了这个插件,有很多评论:

http:// /devot-ee.com/add-ons/cx-disqus-comments

花费了一些钱,但它完成了工作,并且它从 disqus 同步回 EE,这对 SEO 很有好处(因为你可以把您在页面上的 Disqus 评论没有 JS)。

I recently used this plugin in a pretty big site with a lot of comments:

http://devot-ee.com/add-ons/cx-disqus-comments

Costs some money, but it did the job, and it syncs back to EE FROM disqus, which can be good for SEO (because you can put your Disqus comments on the page without JS).

临走之时 2024-08-23 12:33:02

您还可以手动将 EE 评论导入 Disqus。 这是 Ryan Battles 撰写的一篇文章,介绍了如何使用 EE 标记创建“WXR”XML 文件。

您需要注意一些问题:

  • 确保 XML 文件顶部没有任何空行。
  • ASCII 代码 转换为纯文本。
  • 禁用 JavaScript 电子邮件加密。转到频道首选项>评论发布首选项,并设置“自动将 URL 和电子邮件地址转换为链接?”到“否”。如果您在评论表单上使用编辑器,您还应该在所见即所得编辑器上禁用它。

Disqus 建议首先对虚假 URL 进行测试导入,以解决所有问题。他们有一个导入监视器,可以输出导入文件的任何问题。

You can also manually import your EE comments into Disqus. Here's an article by Ryan Battles that explains how to create a "WXR" XML file using EE tags.

And you'll want to watch out for a few gotchas:

  • Make sure there aren't any blank lines at the top of your XML file.
  • Convert ASCII codes to plain text.
  • Disable javascript email encryption. Go to Channel Preferences > Comment Posting Preferences, and set "Automatically turn URLs and email addresses into links?" to "No". You should also disable it on your WYSIWYG editor if you're using one on your comment form.

Disqus recommends doing a test import into a fake URL first to work out all the kinks. They have an import monitor that outputs any problems with your import file.

冰魂雪魄 2024-08-23 12:33:02

我实际上让 Ruby 脚本运行起来了,而且运行得非常好!

我在脚本中添加了一些简单的注释,以帮助填补一些空白:
http://gist.github.com/266251

I actually got the Ruby script to work and it worked very well!

I added some simple comments to the script to help fill in some gaps:
http://gist.github.com/266251

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