Extension:GoogleDocTag

The GoogleDocViewer extension adds the &lt;doc&gt; tag for embedding a Google Doc in view, edit, or published mode (provided that the user is currently logged into their Google account and has access to the document).

Installation

 * 1) Copy GoogleDocViewer.php to the new file GoogleDocViewer.php in your MediaWiki extensions directory.
 * 2) Enable the extension by adding this line to the bottom of your LocalSettings.php:

Usage
Google Doc URLs are structured like this: docs.google.com/a/ /document/ ?id=. To embed this document, use:
 *   site= mode= title="My Title"/> 
 *  Example:  

Options

 * id (required)
 * mode (edit|view|pub)
 * width
 * height
 * title
 * site

Source of GoogleDocViewer.php
'.		' ';

return $html; }