{"id":45277,"date":"2011-02-24T13:48:56","date_gmt":"2011-02-24T13:48:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/google-docs-viewer\/"},"modified":"2011-02-22T14:04:34","modified_gmt":"2011-02-22T14:04:34","slug":"google-docs-viewer","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/google-docs-viewer\/","author":307954,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"1.0","tested":"3.0.5","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Google Docs Viewer","header_author":"David Artiss","header_description":"","assets_banners_color":"","last_updated":"2011-02-22 14:04:34","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/artiss.co.uk\/donate","header_plugin_uri":"http:\/\/www.artiss.co.uk\/google-docs-viewer","header_author_uri":"http:\/\/www.artiss.co.uk","rating":0,"author_block_rating":0,"active_installs":60,"downloads":8060,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog","other_notes"],"tags":[],"upgrade_notice":{"1.0":"<ul>\n<li>Initial release<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1538948","resolution":"1","location":"plugin"}},"screenshots":{"1":"The embedded viewer displaying a PDF document"}},"plugin_section":[],"plugin_tags":[230,17784,4187,1937,6585],"plugin_category":[56],"plugin_contributors":[78579],"plugin_business_model":[],"class_list":["post-45277","plugin","type-plugin","status-closed","hentry","plugin_tags-embed","plugin_tags-google-docs","plugin_tags-online","plugin_tags-view","plugin_tags-word","plugin_category-social-and-sharing","plugin_contributors-dartiss","plugin_committers-dartiss"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/google-docs-viewer.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/google-docs-viewer\/trunk\/screenshot-1.png?rev=1538948","caption":"The embedded viewer displaying a PDF document"}],"raw_content":"<!--section=description-->\n<p>This plugin provides multiple viewing functions related to Google Docs.<\/p>\n\n<p>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.<\/p>\n\n<p><strong>Google Docs Viewer<\/strong><\/p>\n\n<p>Once this plugin is activated you can easily convert a document link to be viewable via Google Docs by simply replacing <code>http<\/code> in the URL with <code>gdoc<\/code> (or <code>gdocs<\/code> if it's a <code>https<\/code> address).<\/p>\n\n<p>So, you may specify <code>gdoc:\/\/www.somewhere.com\/document.pdf<\/code> 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.<\/p>\n\n<p><strong>Embedded Viewer<\/strong><\/p>\n\n<p>Document can also be embedded directly into the post or page by using a new WordPress shortcode named <code>[gdoc]<\/code>.<\/p>\n\n<p>There are two optional parameters - <code>width<\/code> and <code>height<\/code>. 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.<\/p>\n\n<p>Here is an example using the previous PDF reference...<\/p>\n\n<pre><code>[gdoc]gdoc:\/\/www.somewhere.com\/document.pdf[\/gdoc]\n<\/code><\/pre>\n\n<p>Or, if width and height are specified...<\/p>\n\n<pre><code>[gdoc width=\"400px\" height=\"200px\"]gdoc:\/\/www.somewhere.com\/document.pdf[\/gdoc]\n<\/code><\/pre>\n\n<p><strong>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 <a href=\"http:\/\/artiss.co.uk\/donate\" title=\"Donate\">donations<\/a> are always welcome.<\/strong><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire <code>google-docs-viewer<\/code> folder to your wp-content\/plugins\/ directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>That's it, you're done - to keep things simple there are no options screens.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Which document formats are allowed?<\/dt>\n<dd><p>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 <em>not<\/em> supported.<\/p>\n\n<p>If you come across any more, please let me know.<\/p><\/dd>\n<dt>Which version of PHP does this plugin work with?<\/dt>\n<dd><p>It has been tested and been found valid from PHP 4 upwards.<\/p><\/dd>\n<dt>Are there any known issues?<\/dt>\n<dd><p>Yes, the embedded viewer doesn't always work very well with IE7 or IE8. There is a workaround for viewers with this issue (add <code>Google.com<\/code> to the list of allowed cookies).<\/p>\n\n<p>If this causes a problem then I can recommend an alternative plugin that works around this issue with a proxy set-up - <a href=\"http:\/\/wordpress.org\/extend\/plugins\/google-document-embedder\/\" title=\"Google Document Embedder\">Google Doc Embedder<\/a>. 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).<\/p><\/dd>\n<dt>How can I get help or request possible changes<\/dt>\n<dd><p>Feel free to report any problems, or suggestions for enhancements, to me via <a href=\"http:\/\/www.artiss.co.uk\/forum\" title=\"WordPress Plugins Forum\">my forum<\/a> or <a href=\"http:\/\/www.artiss.co.uk\/contact\" title=\"Contact Me\">my contact form<\/a>. However, please check the <a href=\"http:\/\/www.artiss.co.uk\/google-docs-viewer\" title=\"Google Docs Viewer\">dedicated plugin page<\/a> first for any known bugs or planned enhancements.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<!--section=other_notes-->\n<h3>Licence<\/h3>\n\n<p>This WordPRess plugin is licensed under the <a href=\"http:\/\/wordpress.org\/about\/gpl\/\" title=\"GNU General Public License\n\">GPLv2 (or later)<\/a>.<\/p>\n\n<h3>Support<\/h3>\n\n<p>All of my plugins are supported via <a href=\"http:\/\/www.artiss.co.uk\" title=\"Artiss.co.uk\">my website<\/a>.<\/p>\n\n<p>Please feel free to visit the site for plugin updates and development news - either visit the site regularly, follow <a href=\"http:\/\/www.artiss.co.uk\/feed\" title=\"RSS News Feed\">my news feed<\/a> or <a href=\"http:\/\/www.twitter.com\/artiss_tech\" title=\"Artiss.co.uk on Twitter\">follow me on Twitter<\/a> (@artiss_tech).<\/p>\n\n<p>For problems, suggestions or enhancements for this plugin, there is <a href=\"http:\/\/www.artiss.co.uk\/google-docs-viewer\" title=\"Google Docs Viewer&quot;]]) and [a forum](http:\/\/www.artiss.co.uk\/forum &quot;WordPress Plugins Forum\">a dedicated page<\/a>. The dedicated page will also list any known issues and planned enhancements.<\/p>\n\n<p>Alternatively, please <a href=\"http:\/\/www.artiss.co.uk\/contact\" title=\"Contact Me\">contact me directly<\/a>.<\/p>\n\n<p><strong>This plugin, and all support, is supplied for free, but <a href=\"http:\/\/artiss.co.uk\/donate\" title=\"Donate\">donations<\/a> are always welcome.<\/strong><\/p>","raw_excerpt":"View and embed with Google Docs","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/45277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=45277"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dartiss"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=45277"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=45277"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=45277"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=45277"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=45277"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=45277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}