Etherpad 和 Wordpress,可以吗?
我最近偶然发现了 Etherpad,它是一个协作写作工具
主项目页面
http://code.google.com/p/etherpad/ -在线 示例:
http://piratepad.net/
http://ietherpad.com/
http://typewith.me/
我想以某种方式将此引擎添加到我的 WordPress 中并让人们协作他们的帖子,
我想知道以前是否已经完成过和/或需要的时间是否超过
共享托管(这就是我所拥有的)来做到这一点[服务器功能或其他功能]?
I recently stumbled upon Etherpad, it's a collaborative writing tool
http://code.google.com/p/etherpad/ - main project page
online Examples:
http://piratepad.net/
http://ietherpad.com/
http://typewith.me/
I want to add this engine somehow to my wordpress and let people collaborate their posts,
I'm wondering if it has been done before and/or does it take more than
shared hosting (that is what I have) to do it [server capabilities or what-not] ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
总的来说,我认为这是一种复杂的方法。此外,Etherpad 允许一些非常基本的字体格式,但不允许图像以及您可能想要包含在博客中的此类内容。相反,我建议寻找一些用于协作写作的 WordPress 插件,你可能会发现一些不太“实时”但也许足够好的东西。
或者,如果您确实想尝试使用 Etherpad:
Etherpad 需要大量内存 (RAM) 才能运行。典型配置为 1 GB,但也可以使用 Etherpad 专用的 128MB。这意味着第一次尝试总共至少需要 256MB。您的共享主机还需要安装 Java 服务器(通常是 Jetty)和一些代理服务器(通常是 nginx)。总而言之,在启动并运行 Etherpad 方面,您还有一些工作要做。之后,集成到Wordpress博客编辑器中。我不知道是否/如何做到这一点。我可能会做一个客户端 javascript-hack 来获取 Wordpress 文本区域或富文本编辑区域以从 Etherpad 只读视图进行更新,这是您可以将 pad 的内容或多或少地作为原始源获取的唯一地方文本。
In general, I think this is a complicated way to go about it. Also, Etherpad allows some very basic font formatting but no images and such things you might want to include in a blog. Instead I suggest looking for some Wordpress plugin for collaborative writing, and you might find something less "real-timey" but perhaps good enough.
Or if you really want to try with Etherpad:
Etherpad needs lots of memory (RAM) to run. A typical configuration is 1 GB, but it might be possible to get by on 128MB dedicated to Etherpad. This means you'll need at least 256MB in total for a first attempt. Your shared host also needs to have a Java server installed (typically Jetty) and some proxying server (typically nginx). All in all, you have some work ahead of you in just getting Etherpad up and running. After that, integrating into the Wordpress blog editor. If/how this can be done, I don't know. I'd probably do a client-side javascript-hack to get the Wordpress textarea or richtext editarea to update from the Etherpad readonly view, which is the only place where you can get the contents of a pad as more-or-less raw source text.
一个更简单的解决方案是通过 iFrame 添加 Etherpad 页面。例如,请参阅这篇文章 - http:// /www.knowledgepolicy.com/2010/02/embed-etherpad-into-blogpost-or-on-any.html
A simpler solution would be to just add an Etherpad page through an iFrame. See this post for example - http://www.knowledgepolicy.com/2010/02/embed-etherpad-into-blogpost-or-on-any.html
理论上,可以用 Etherpad Lite iFrame 替换 Wordpress 的编辑器。 Etherpad 现在允许图像/字体编辑和表格支持作为插件。
Etherpad 不再需要 Java,但 NodeJS 需要。
这是一个正在开发中的插件,可以实现您想要的功能 - 但是开发似乎在2012年初就停止了。
In theory it's possible to replace Wordpress' editor with an Etherpad Lite iFrame. Etherpad now allows image/font editing and table support as plugins.
Java is no longer required for Etherpad, NodeJS however is.
Here is a plugin that is in development that does what you want - however development seemed to stop in early 2012.
http://participad.org/ 似乎是迄今为止该领域的最佳解决方案。我还没有在自己的网站上测试过它,但他们有一个至少可以部分运行的在线演示。
http://participad.org/ seems to be the best solution in this space to date. I haven't tested it on my own site, but they have an at least partially-working demo online.
是的!这是可能的。 WordPress 现在有一个插件。该插件具有三个模块,可在仪表板中启用编辑器并让您通过前端进行编辑。
您可以在他们的常见问题解答页面上找到更多详细信息。
Yes! It is possible. WordPress now has a plugin. The plugin has three modules which enables an Editor in dashboard and let you edit via front-end.
You can find more details on their FAQ page.