{"id":877,"date":"2011-02-28T19:22:03","date_gmt":"2011-02-28T19:22:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/dirtysuds-embed-pdf\/"},"modified":"2015-03-20T01:09:32","modified_gmt":"2015-03-20T01:09:32","slug":"dirtysuds-embed-pdf","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/dirtysuds-embed-pdf\/","author":7648098,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.6","stable_tag":"1.0.6","tested":"3.9.40","requires":"2.9","requires_php":"","requires_plugins":"","header_name":"Embed PDF","header_author":"Pat Hawks","header_description":"","assets_banners_color":"","last_updated":"2015-03-20 01:09:32","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/github.com\/pathawks\/Embed-PDF","header_plugin_uri":"https:\/\/github.com\/pathawks\/Embed-PDF","header_author_uri":"http:\/\/pathawks.com","rating":4.4,"author_block_rating":0,"active_installs":4000,"downloads":135806,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.5":{"tag":"1.0.5","author":"pathawks","date":"2014-08-07 18:47:47"},"1.0.6":{"tag":"1.0.6","author":"pathawks","date":"2014-09-22 17:20:32"},"1.00":{"tag":"1.00","author":"pathawks","date":"2011-03-03 15:18:14"},"1.01":{"tag":"1.01","author":"pathawks","date":"2011-03-03 15:18:14"},"1.02":{"tag":"1.02","author":"pathawks","date":"2011-03-15 16:40:21"},"1.03":{"tag":"1.03","author":"pathawks","date":"2011-09-22 17:40:37"},"1.04":{"tag":"1.04","author":"pathawks","date":"2011-11-25 14:16:03"}},"upgrade_notice":{"1.06":"<ul>\n<li>Important bugfix<\/li>\n<\/ul>","1.04":"<ul>\n<li>Fixed problem with Google Docs viewer.  Upgrade immediately.<\/li>\n<\/ul>"},"ratings":{"1":"1","2":"1","3":"1","4":"1","5":"14"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.5","1.0.6","1.00","1.01","1.02","1.03","1.04"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[230,150,84,2391,129180],"plugin_category":[50,56],"plugin_contributors":[78688,78687],"plugin_business_model":[],"class_list":["post-877","plugin","type-plugin","status-closed","hentry","plugin_tags-embed","plugin_tags-google","plugin_tags-media","plugin_tags-plugins","plugin_tags-wordpress","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-dirtysuds","plugin_contributors-pathawks","plugin_committers-pathawks"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/dirtysuds-embed-pdf.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Will embed a PDF file using Google Docs Viewer\nSimply include the URL for a PDF document on it's own line, or wrapped in the embed tag like <code>[embed]http:\/\/example.com\/file.pdf[\/embed]<\/code> and the plugin will embed the PDF into the page using the Google Docs Viewer embed code.\nThe url must end with <code>.pdf<\/code><\/p>\n\n<p>Supported attributes in the embed tag are <code>class<\/code> <code>id<\/code> <code>title<\/code> <code>height<\/code> and <code>width<\/code><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>dirtysuds-embed-pdf<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate <strong>DirtySuds - Embed PDF<\/strong> through the 'Plugins' menu in WordPress<\/li>\n<li>That's it. Now when you embed a PDF using the Wordpress <code>[embed]<\/code> shortcode, the plugin will embed the document using the Google Docs viewer<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20can%20i%20change%20the%20size%20of%20the%20pdf%20viewer%3F'><h3>How can I change the size of the PDF viewer?<\/h3><\/dt>\n<dd><p>If you want to change the default size of media embedded in a post, that can be done in the admin interface under <em>Settings \u21d2 Media Settings \u21d2 Embeds<\/em><\/p>\n\n<p>If you'd just like to change the size of one instance, you can use the standard attributes of the WordPress embed shortcode.<\/p>\n\n<pre><code>   [embed width=\"400\" height=\"600\"]http:\/\/example.com\/document.pdf[\/embed]\n<\/code><\/pre><\/dd>\n<dt id='i%20have%20an%20idea%20for%20a%20great%20way%20to%20improve%20this%20plugin'><h3>I have an idea for a great way to improve this plugin<\/h3><\/dt>\n<dd><p>Great! I'd love to hear from you.<\/p>\n\n<p>plugins@dirtysuds.com<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.06<\/h4>\n\n<ul>\n<li>Bugfix<\/li>\n<\/ul>\n\n<h4>1.04<\/h4>\n\n<ul>\n<li>Changed URL for Google Docs Viewer to reflect change that Google made<\/li>\n<\/ul>\n\n<h4>1.03<\/h4>\n\n<ul>\n<li>Automatically enable auto-embeds on plugin activation<\/li>\n<\/ul>\n\n<h4>1.02<\/h4>\n\n<ul>\n<li>Added support for <code>gdoc<\/code> shortcode for compatibility with older plugins<\/li>\n<\/ul>\n\n<h4>1.01<\/h4>\n\n<ul>\n<li>Added support for <code>class<\/code> and <code>id<\/code> attributes (Thanks, <em>Robert<\/em>)<\/li>\n<\/ul>\n\n<h4>1.00<\/h4>\n\n<ul>\n<li>First version<\/li>\n<li>Works<\/li>\n<\/ul>","raw_excerpt":"Adds pseudo oembed support for PDF documents","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/877","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=877"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pathawks"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=877"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=877"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=877"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=877"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=877"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}