{"id":51733,"date":"2016-10-25T03:24:13","date_gmt":"2016-10-25T03:24:13","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/dans-gdrive-viewer\/"},"modified":"2019-06-05T13:02:46","modified_gmt":"2019-06-05T13:02:46","slug":"dans-gdrive-viewer","status":"closed","type":"plugin","link":"https:\/\/kin.wordpress.org\/plugins\/dans-gdrive-viewer\/","author":14810475,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2","stable_tag":"trunk","tested":"5.2.24","requires":"4.0.1","requires_php":"","requires_plugins":"","header_name":"Dans Google Drive Viewer","header_author":"Dan Dulaney","header_description":"","assets_banners_color":"f5f5f7","last_updated":"2019-06-05 13:02:46","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/dandulaney.com\/donate\/","header_plugin_uri":"https:\/\/dandulaney.com","header_author_uri":"https:\/\/dandulaney.com","rating":4.5,"author_block_rating":0,"active_installs":100,"downloads":5673,"num_ratings":10,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<ul>\n<li>Initial Plugin Release<\/li>\n<\/ul>"},"ratings":{"1":1,"2":0,"3":0,"4":1,"5":8},"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":"1522182","resolution":"","location":"assets","locale":""}},"assets_banners":{"banner-1550x500.png":{"filename":"banner-1550x500.png","revision":"1522182","resolution":"1550x500","location":"assets","locale":""},"banner-1880x609.png":{"filename":"banner-1880x609.png","revision":"1522182","resolution":"1880x609","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1522814","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1522182","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1522182","resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"<p>View of Shared Folder with View \/ Download<\/p>","2":"<p>Settings Page<\/p>"}},"plugin_section":[],"plugin_tags":[18170,230,125509,17785,14082],"plugin_category":[56],"plugin_contributors":[125428],"plugin_business_model":[],"class_list":["post-51733","plugin","type-plugin","status-closed","hentry","plugin_tags-drive","plugin_tags-embed","plugin_tags-gdrive","plugin_tags-google-drive","plugin_tags-share-files","plugin_category-social-and-sharing","plugin_contributors-duplaja","plugin_committers-duplaja"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/dans-gdrive-viewer\/assets\/icon.svg?rev=1522182","icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/dans-gdrive-viewer_f5f5f7.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/dans-gdrive-viewer\/assets\/screenshot-1.png?rev=1522182","caption":"<p>View of Shared Folder with View \/ Download<\/p>"},{"src":"https:\/\/ps.w.org\/dans-gdrive-viewer\/assets\/screenshot-2.png?rev=1522182","caption":"<p>Settings Page<\/p>"}],"raw_content":"<!--section=description-->\n<p>Dan's Viewer for Google Drive was created when I was looking for a  way to share files via Google Drive on my sites, in a way that allowed downloading, viewing, exporting, and hardest to find, the ability drill down into subfolders without leaving the site. I couldn't find anything within my price range that fit what I needed, so I decided to create my own.<\/p>\n\n<p>Dan's Viewer for Google Drive displays files in a way that is mobile friendly, customizable via shortcode, and easy to style. No need to import files or manage them directly in WordPress. All you need is a public Google Drive Folder (or multiple!) and a free, easy to get API key.<\/p>\n\n<p>Features<\/p>\n\n<ul>\n<li><p>Displays public drive document listings in a mobile friendly format<\/p><\/li>\n<li><p>Offers both View and Download Options, where appropriate<\/p><\/li>\n<li><p>Offers Export Option for Google Docs \/ Sheets \/ Presentations<\/p><\/li>\n<li><p>All options are configured via shortcode<\/p><\/li>\n<li><p>Allows drill down \/ up within folders without leaving the page<\/p><\/li>\n<li><p>Ability to store and use unlimited Google Drive Folders<\/p><\/li>\n<\/ul>\n\n<p>Shortcodes:<\/p>\n\n<ul>\n<li><p>Default Display <code>[dandrive]<\/code> (defaults to 1st drive)<\/p><\/li>\n<li><p>Optional Attributes Ex:<code>[dandrive drive=1 divid=mydrive height=400 width=300 rbutton=no]<\/code><\/p><\/li>\n<li><p>drive= (number of the drive you want, defaults to 1 if not entered)<\/p><\/li>\n<li><p>divid= (id of the div your calendar is stored in, for custom theming. Defaults to random string to allow multiple per page)<\/p><\/li>\n<li><p>height= (maximum height in pixels, defaults to auto. If this is set, a scroll bar will appear if your div overflows. Enter a number only).<\/p><\/li>\n<li><p>width = (maximum width in pixels, defaults to 400. Enter a number only)<\/p><\/li>\n<li><p>rbutton = (no means don't display return to initial folder button. Omit to display (default behaviour))<\/p><\/li>\n<\/ul>\n\n<p>For help creating an API key to use with this plugin, either check out the settings page in plugin, or the FAQ tab here.<\/p>\n\n<p>To see other plugins like this, or tips on how these are built, check out <a href=\"https:\/\/blog.dandulaney.com\/\">my site<\/a>.<\/p>\n\n<p>Thanks to Mike @ <a href=\"https:\/\/guides.wp-bullet.com\/\">WP Bullet Guides<\/a> for the banner and icon.<\/p>\n\n<h3>Dependencies and Liscencing<\/h3>\n\n<p>Depends on Google Drive's JavaScript API v4<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/dans-gdrive-viewer<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Head over to the Dan's GDrive settings page, found on the Dashboard sidebar.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I create my API key?<\/dt>\n<dd><p>To create API key, visit Google Developers Console. https:\/\/console.developers.google.com\/ \nThen, follow bellow;<\/p>\n\n<ul>\n<li><p>Create new project (or use project you created before).<\/p><\/li>\n<li><p>Check \"APIs &amp; auth\" -&gt; \"Credentials\" on side menu.<\/p><\/li>\n<li><p>Hit \"Create new Key\" button on \"Public API access\" section.<\/p><\/li>\n<li><p>Choose \"Browser key\" and keep blank on referer limitation.<\/p><\/li>\n<li><p>Set this key on the plugin's setting page.<\/p><\/li>\n<\/ul><\/dd>\n<dt>How do I find the ID for the folder I want to share?<\/dt>\n<dd><p>Once you have set the folder as public, you can find the id with the following:<\/p>\n\n<ul>\n<li><p>Visit https:\/drive.google.com\/, while logged in to your account.<\/p><\/li>\n<li><p>Enter the folder that you have shared publically<\/p><\/li>\n<li><p>Find the folder ID from the url, after the \/folders\/. Example: https:\/\/drive.google.com\/drive\/u\/0\/folders\/xxxxxxxxxxxxxxxx , where xxxxxxxxxxxxxxx is the key.<\/p><\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2<\/h4>\n\n<ul>\n<li>Check with latest version of WP<\/li>\n<li>Minor fixes<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Moved Dashboard Link Under Tools<\/li>\n<li>Added jQuery dependency to enqueues<\/li>\n<li>Updated Supported Version<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Plugin Release<\/li>\n<\/ul>","raw_excerpt":"Dan&#039;s Viewer for Google Drive was created when I was looking for a  way to share files via Google Drive on my sites, in a way that allowed downlo &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/51733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kin.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kin.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=51733"}],"author":[{"embeddable":true,"href":"https:\/\/kin.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/duplaja"}],"wp:attachment":[{"href":"https:\/\/kin.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=51733"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=51733"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=51733"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=51733"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=51733"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=51733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}