Getting to grips with Firepad

92 views
Skip to first unread message

ad...@jresponse.io

unread,
Mar 21, 2016, 11:06:42 AM3/21/16
to Firepad
I discovered Firepad under an hour ago in my quest for a collaborative online notes editor.  I have experimented with Etherpad and there are many things I like about it.  However, the fact that the underlying note data has to be self hosted is something of a turnoff.  The Firebase model whereby they handle the data - and provide the server muscle power - is rather more attractive.  Here is what I need to do

  • Launch Firepad in a Wordpress page
  • Each FP document has  between 3 & 5 collaborating authors who are all Wordpress users
  • I want to initiate FP with the Wordpress user ID and display name. Poking around inside the examples I found that this could be done as follows
 var firepadUserList = FirepadUserList.fromDiv(firepadRef.child('users'), document.getElementById('userlist'), WordPress-UserID,Wordpress-User-Display-Name);

This appears to work but it is something I have hit upon without quite understanding how or why.  That apart the one big failing I appear to have found with Firepad is that - unike Etherpad - it does not appear to provide any kind of indication as to who has edited the different bits of text in the note. Is this really the case or is there configuration option somewhere that I have not yet discovered?

I'd much appreciate any help.

Clement Wehrung

unread,
Mar 21, 2016, 11:14:13 AM3/21/16
to ad...@jresponse.io, Firepad
If your question is: does Firepad store who made a specific change? The answer is YES. The operations history stored in Firebase saves this information: https://github.com/firebase/firepad/blob/master/lib/firebase-adapter.js#L159

Though, it's not currently used in the UI. If you want to display such info, it's up to you to figure out how you want to show it.

--
You received this message because you are subscribed to the Google Groups "Firepad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firepad-io+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firepad-io/e3a8b65d-164f-4255-a9a5-7d72759b1328%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages