Plugin Directory

Google Docs Viewer

View and embed with Google Docs

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 are always welcome.

Requires: 2.5 or higher
Compatible up to: 3.0.5
Last Updated: 2011-2-22
Downloads: 6,207

Average Rating

3 stars
(4 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,1,1