DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:googledrawing

googledrawing Plugin

Compatible with DokuWiki

Anteater, Rincewind, Angua, Adora Belle, Binky, Ponder Stibbons, Hrun, Detritus, Elenor Of Tsort, Frusterick Manners

plugin Lets you paste google drawing links, and they will be shown as an image

Last updated on
2014-05-29
Provides
Syntax
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with google, googledocs, googledrawing, images

By Linus Brimstedt, Michael Stewart

Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Examples/Usage

Paste the link of a published google drawing in your dokuwiki page:

URL from editor:
https://docs.google.com/drawings/edit?id=1j4V1jYvhZBfOqWDQ-eIsL2vA3nOI9jsNce_ACI9dAwU

Old publish URL:
https://docs.google.com/drawings/pub?id=1j4V1jYvhZBfOqWDQ-eIsL2vA3nOI9jsNce_ACI9dAwU&w=555&h=396

The plugin will convert the link to a <img>-tag displaying the image.

The image will be clickable and open the google drawing page in a new windows, so you can edit it on the fly.

This is useful for example if you want to have sketches that are as easily edited as the wiki itself: no need to upload new versions of images, etc.

You can also use a more specific syntax if you want more control

{{gdraw>1j4V1jYvhZBfOqWDQ-eIsL2vA3nOI9jsNce_ACI9dAwU width=123 title="test title" center}}

This syntax allows you to set tile and alignment as well as width and height.

Demo

Configuration and Settings

If you use google docs for your own domain, you can configure the domain base url.

Change Log

  • 2011-02-28
    • Initial release
  • 2013-04-22
    • Update for new URLs and bugfix

Feature Request

  • “New Google Image” button for editor toolbar

Known Bugs and Issues

  1. The {{}} syntax may not work
  2. The “specific syntax” may be incompatible with the MediaSyntax plugin
  3. Of course, the Google drawing has to be “published to the world”. If the drawing is published for a selected set of users only - those users must be logged on to their google docs account for the image to work.
plugin/googledrawing.txt · Last modified: 2018-05-28 21:12 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki