DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:googledrawing

googledrawing Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" yes
  • 2014-09-29 "Hrun" yes

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
By Linus Brimstedt, Michael Stewart

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. 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: 2017-01-12 21:50 by 62.167.31.30