=== Google Docs Viewer === Contributors: dartiss Donate link: http://artiss.co.uk/donate Tags: google docs, view, online, embed, word, DOC, DOCX, PDF, powerPoint, presentation, PPT, PPS, TIFF Requires at least: 2.5 Tested up to: 3.0.5 Stable tag: 1.0 View and embed with Google Docs == Description == This plugin provides multiple viewing functions related to Google Docs. First of all it can allow you to easily convert a link to a document so that it uses Google Docs as the viewer. Secondly, it provides a method of embedding certain document types directly into your post or page. **Google Docs Viewer** Once this plugin is activated you can easily convert a document link to be viewable via Google Docs by simply replacing `http` in the URL with `gdoc` (or `gdocs` if it's a `https` address). So, you may specify `gdoc://www.somewhere.com/document.pdf` as a link to a PDF document. When the user clicks on it instead of launching it as a PDF it will be displayed in Google Docs. **Embedded Viewer** Document can also be embedded directly into the post or page by using a new WordPress shortcode named `[gdoc]`. There are two optional parameters - `width` and `height`. If you do not specify any of these values the width will be set to the page width and the height as half the width value. Here is an example using the previous PDF reference... `[gdoc]gdoc://www.somewhere.com/document.pdf[/gdoc]` Or, if width and height are specified... `[gdoc width="400px" height="200px"]gdoc://www.somewhere.com/document.pdf[/gdoc]` **For help with this plugin, or simply to comment or get in touch, please read the appropriate section in "Other Notes" for details. This plugin, and all support, is supplied for free, but [donations](http://artiss.co.uk/donate "Donate") are always welcome.** == Licence == This WordPRess plugin is licensed under the [GPLv2 (or later)](http://wordpress.org/about/gpl/ "GNU General Public License "). == Support == All of my plugins are supported via [my website](http://www.artiss.co.uk "Artiss.co.uk"). Please feel free to visit the site for plugin updates and development news - either visit the site regularly, follow [my news feed](http://www.artiss.co.uk/feed "RSS News Feed") or [follow me on Twitter](http://www.twitter.com/artiss_tech "Artiss.co.uk on Twitter") (@artiss_tech). For problems, suggestions or enhancements for this plugin, there is [a dedicated page](http://www.artiss.co.uk/google-docs-viewer "Google Docs Viewer"]]) and [a forum](http://www.artiss.co.uk/forum "WordPress Plugins Forum"). The dedicated page will also list any known issues and planned enhancements. Alternatively, please [contact me directly](http://www.artiss.co.uk/contact "Contact Me"). **This plugin, and all support, is supplied for free, but [donations](http://artiss.co.uk/donate "Donate") are always welcome.** == Installation == 1. Upload the entire `google-docs-viewer` folder to your wp-content/plugins/ directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. That's it, you're done - to keep things simple there are no options screens. == Frequently Asked Questions == = Which document formats are allowed? = Many of these functions are undocumented or poorly documented by Google. However, from what I can tell, you can use Word documents (DOC or DOCX), PDF files, PowerPoint presentations (PPT or PPS) and TIFF images. I know that (at time of writing) XLS files are *not* supported. If you come across any more, please let me know. = Which version of PHP does this plugin work with? = It has been tested and been found valid from PHP 4 upwards. = Are there any known issues? = Yes, the embedded viewer doesn't always work very well with IE7 or IE8. There is a workaround for viewers with this issue (add `Google.com` to the list of allowed cookies). If this causes a problem then I can recommend an alternative plugin that works around this issue with a proxy set-up - [Google Doc Embedder](http://wordpress.org/extend/plugins/google-document-embedder/ "Google Document Embedder"). However, this only has the embedding functions of this plugin, so if you wish to have the viewer capabilities you must have both installed (I have created this plugin to be compatible). = How can I get help or request possible changes = Feel free to report any problems, or suggestions for enhancements, to me via [my forum](http://www.artiss.co.uk/forum "WordPress Plugins Forum") or [my contact form](http://www.artiss.co.uk/contact "Contact Me"). However, please check the [dedicated plugin page](http://www.artiss.co.uk/google-docs-viewer "Google Docs Viewer") first for any known bugs or planned enhancements. == Screenshots == 1. The embedded viewer displaying a PDF document == Changelog == = 1.0 = * Initial release == Upgrade Notice == = 1.0 = * Initial release