Extension:GoogleDocTag

The Googledocviewer extension adds the &lt;doc&gt; tag for embedding files. It supports remote and local (uploaded to MediaWiki) files.

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

 *  http://some.site.com/with/a/document.type 
 *  Your_uploaded_document.type 

Options
height and width should be coming soon, currently width is set to 100% and height is 600px

Supported file types
Only been tested with doc, docx and pdf but should work with any file type that google docs supports:


 * Documents (up to 500KB of text)
 * HTML files and plain text (.txt).
 * Microsoft Word (.doc, .docx), Rich Text (.rtf), OpenDocument Text (.odt) and StarOffice (.sxw).
 * Presentations (up to 10MB)
 * Microsoft PowerPoint (.ppt, .pps).
 * Spreadsheets (up to 1MB)
 * Comma Separated Value (.csv).
 * Microsoft Excel (.xls, .xlsx) files and OpenDocument Spreadsheet (.ods).
 * PDF Files (up to 10MB)