Integrating Etherpad

81 views
Skip to first unread message

Sammy

unread,
Mar 11, 2012, 3:39:56 PM3/11/12
to EtherPad Open Source Discussion
Hi, I have a website where some documents have been uploaded. I am
interested in integrating etherpad such that these uploaded documents
can be opened as an Etherpad 'Pad' from my website. Any pointer?

John McLear

unread,
Mar 11, 2012, 7:15:41 PM3/11/12
to etherpad-open-...@googlegroups.com
You would basically want to "pass" the document href to etherpad..

So basically, you want to generate an ID that you store, this is the ID of the pad.  You then want to pass the href of the document to the import API endpoint with the ID of the pad included in the request, something like...


Then store the padID with a relation to the documentID in your store.  That way the next time you try to access the document instead of importing you will hit the document.

This is all theoretical btw, someone will need to write the ability to pass a href to the import endpoint.

Sammy

unread,
Mar 12, 2012, 11:55:03 AM3/12/12
to EtherPad Open Source Discussion
Thanks John - this is helpful.
My website would be running on a separate server than Etherpad. Would
it still be feasible to pass documet href to etherpad?
> > can be opened as an Etherpad 'Pad' from my website. Any pointer?- Hide quoted text -
>
> - Show quoted text -

John McLear

unread,
Mar 12, 2012, 12:00:48 PM3/12/12
to etherpad-open-...@googlegroups.com
yep

Sammy

unread,
Mar 12, 2012, 12:08:18 PM3/12/12
to EtherPad Open Source Discussion
As I am very new to Etherpad infrastructure, can you let me know or
point me to any documentation you might have on how the Etherpad
import function can be called from another application instance?

Many thanks!
> > > - Show quoted text -- Hide quoted text -

John McLear

unread,
Mar 13, 2012, 8:13:14 AM3/13/12
to etherpad-open-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages