I want to use EtherPad (or a clone). My site is ru

2019-04-01 02:09发布

I'd like to utilize an etherpad interface on my website. Two questions:

1) is there any site with an etherpad api that I could just call remotely? 2) if not, how much trouble is it to install scala and have the two run concurrently?

Thanks

4条回答
走好不送
2楼-- · 2019-04-01 02:19

Installing scala might mean a few things:

  • Installing the SDK (i.e. scalac)
  • Installing the runtime

Assuming you mean the runtime, scala runs entirely on the Java Virtual Machine (JVM) so assuming you have 1.5+ JVM installed, you can run scala programs on it easily (Scala just compiles down to bytecode, after all). All a scala program requires is a few JARs on the classpath (scala-library and scala-compiler)

查看更多
地球回转人心会变
3楼-- · 2019-04-01 02:28

The original etherpad.com has now gone away but at that link there is a list of clones.

The instructions for embedding etherpads seems to have gone away with the rest of etherpad.com but I believe it's as simple as this:

<div id="ep">
<iframe src="http://etherpad.com/foo?fullScreen=1"></iframe>
</div>

Replace "etherpad.com" with whatever clone you're using, "foo" with the name of your pad, and you may or may not want to change that fullScreen=1 to fullScreen=0 (or leave it off altogether).

查看更多
\"骚年 ilove
4楼-- · 2019-04-01 02:29

Now there is a better solution Etherpad Lite it is easily installable and embedable. See http://etherpad.org

查看更多
做个烂人
5楼-- · 2019-04-01 02:40

Check out http://piratepad.net and http://ietherpad.com

And you can embed those etherpad instances using a simple iframe as suggested here: http://etherpad.com/ep/blog/posts/embedding-etherpad

There doesn't seem to be a proper API yet for more robust interactions.

查看更多
登录 后发表回答