Is there a way to link google doc to firepad or some kinda import?

63 views
Skip to first unread message

Zhang Bruce

unread,
May 13, 2016, 7:14:57 PM5/13/16
to Firepad
if not is it going to be supported later?

Michael Lehenbauer

unread,
May 13, 2016, 7:26:18 PM5/13/16
to Zhang Bruce, Firepad
Not certain what you mean.  firepad and google docs both let you import/export to HTML, so it's possible to transfer a doc from one to the other by going through HTML.  Is that what you mean?

On Fri, May 13, 2016 at 4:14 PM, Zhang Bruce <cgbru...@gmail.com> wrote:
if not is it going to be supported later?

--
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/ad6632d0-70b0-4cb2-a013-f243bb5d56e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Zhang Bruce

unread,
May 13, 2016, 8:33:28 PM5/13/16
to Firepad, cgbru...@gmail.com
Sorry for the unclear question.
I'm a mobile developer mainly using Ionic, I'm wondering if I can embed firepad into mobile app, and give user some option to import existing documents.

Michael Lehenbauer

unread,
May 16, 2016, 2:30:28 PM5/16/16
to Zhang Bruce, Firepad
You could build something like this, but you'll have to do a fair amount of legwork yourself, e.g.:
1. Find / build some sort of UI for exploring google docs and selecting one.
2. Use the google docs api to export it to HTML.
3. Call firepad.setHtml() to import it into the firepad doc.

If you undertake this and run into firepad issues, let us know!

-Michael

Reply all
Reply to author
Forward
0 new messages