/embed-etherpad-lite

Embed Etherpad Lite pads into Discourse posts using Onebox.

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

Embed Etherpad Lite pads into Discourse

Embed Etherpad Lite pads into Discourse posts using the Onebox mechanism.

Usage

After installation just insert Etherpad Lite links like https://beta.etherpad.org/p/embed-me-into-discourse into your Discourse posts or comments. The Etherpad will be embedded using the famous and beloved IFRAME tag and is fully operational.

Installation

Read Install a Plugin at meta.discourse.org.

The configuration line you have to add to your container's app.yml file looks like:

- git clone https://github.com/fuerst/embed-etherpad-lite.git

Details

The plugin uses the "Brand new plugin interface" to change URL's like http(s)://domain.tld/p/pad-id into HTML code like <iframe src='http(s)://domain.tld/p/pad-id'></iframe>.

That means it also changes your non-Etherpad URL's which looks just like Etherpad Lite links. Please drop me a note if you got a better idea about how to avoid this.