Editing ODT documents can be done in the webbrowser with WebODF. This experience can be shared with others by doing collaborative editing. Why edit documents alone when you can do it together, right?
It is quite easy to add support for collaborative editing to any website or CMS. These two editors that you see here, side by side, are connected up. Whatever Peggy types on the right is sent to Joe on the left and vice versa.
Every change that is made is a message that is passed to the other editor window. This example runs entirely in one page without using a server. People working on different machines can be connected by passing the messages via a server. Example code for how to do this is provided with WebODF.
This example page with two editors is also part of WebODF.
You can run it yourself. You need to have cmake
and Node.JS installed.
git clone https://github.com/kogmbh/WebODF.git
mkdir webodf_build
cd webodf_build
cmake ../WebODF
make splitscreeneditor
node ../WebODF/webodf/httpserver.js
and browse to
http://localhost:8124/programs/editor/splitscreeneditor.html
.
You can join us at on IRC at #webodf or on the mailing list.
Comments
Post a comment