google_docs_onebox

Goolge docs Onebox for embedding spreadsheets, forms, documents and presentations!

Google docs Onebox for Discourse

This plugin allows to embed any published document, spreadsheet, forms, and/or Presentation from Google Drive.

Installation

this plugin has been merged in offical Onebox gem. So no need to install this if you are using the latest version.

For standlone instalation follow these steps.

As seen in a how-to on meta.discourse.org, simply add the plugin’s repo url to your container’s app.yml file:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/naveed-ahmad/google_docs_onebox.git
  • Rebuild the container
cd /var/docker
git pull
./launcher rebuild app

Screenshots

Spreadsheet
Spreadsheet

Presentation
Presentation

Forms
Google Form

Document
Google document

Troublshooting

  • Make sure document,spreadsheet and presentation is published. You can puslish by clicking on “File => Publish” menu
  • Copy the URL from address bar and past in discourse editor

Contributing

Contributions are welcome. Report issue, even better send pull if you find any bug 😃