{"id":54329,"date":"2017-02-15T10:17:24","date_gmt":"2017-02-15T10:17:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/recaptcha-protected-downloads\/"},"modified":"2017-02-15T10:21:21","modified_gmt":"2017-02-15T10:21:21","slug":"recaptcha-protected-downloads","status":"publish","type":"plugin","link":"https:\/\/wol.wordpress.org\/plugins\/recaptcha-protected-downloads\/","author":13782044,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1","stable_tag":"0.1","tested":"4.7.33","requires":"4.7.2","requires_php":"","requires_plugins":"","header_name":"reCaptcha Protected Downloads","header_author":"Samuel Elh","header_description":"","assets_banners_color":"","last_updated":"2017-02-15 10:21:21","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/samelh.com\/","header_plugin_uri":"https:\/\/github.com\/elhardoum\/recaptcha-protected-downloads","header_author_uri":"https:\/\/samelh.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1737,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1596397","resolution":"1","location":"assets"}},"screenshots":{"1":"reCaptcha popup after clicking download link"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2656,529,568,80,599],"plugin_category":[43,54],"plugin_contributors":[83917],"plugin_business_model":[],"class_list":["post-54329","plugin","type-plugin","status-publish","hentry","plugin_tags-anti-spam","plugin_tags-content","plugin_tags-download","plugin_tags-shortcode","plugin_tags-spam","plugin_category-customization","plugin_category-security-and-spam-protection","plugin_contributors-elhardoum","plugin_committers-devrix"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/recaptcha-protected-downloads.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/recaptcha-protected-downloads\/assets\/screenshot-1.png?rev=1596397","caption":"reCaptcha popup after clicking download link"}],"raw_content":"<!--section=description-->\n<p>Use the shortcode `[recaptcha-protected-download]` to wrap any direct download link that you'd like reCaptcha to process.<\/p>\n\n<p>`[recaptcha-protected-download]https:\/\/example.com\/download.zip[\/recaptcha-protected-download]`<\/p>\n\n<p><strong>Example<\/strong><\/p>\n\n<p>Here's my `hello world` post HTML:<\/p>\n\n<pre>\nHello! This page is dynamically generated with my plugin called Content Generator which you can download from &lt;a href=\"[recaptcha-protected-download]https:\/\/my-cdn.tld\/static\/content-generator.zip[\/recaptcha-protected-download]\"&gt;here&lt;\/a&gt;.\n\nYou can also download WordPress following &lt;a href=\"[recaptcha-protected-download]https:\/\/wordpress.org\/latest.zip[\/recaptcha-protected-download]\"&gt;this URL&lt;\/a&gt;\n<\/pre>\n\n<p>Which is parsed as follows:<\/p>\n\n<pre>\nHello! This page is dynamically generated with my plugin called Content Generator which you can download from &lt;a href=\"#rcpdl=371bce9996c0afc711648c2c4f3d5c97\"&gt;here&lt;\/a&gt;.\n\nYou can also download WordPress following &lt;a href=\"#rcpdl=7039e773658ed3c70d50e791ed4940fd\"&gt;this URL&lt;\/a&gt;\n<\/pre>\n\n<p><strong>About<\/strong><\/p>\n\n<p>This plugin opts to generate fake links (anchors) controlled with JavaScript to open up a modal once clicked to opt users to complete the anti-spam test with <a href=\"https:\/\/github.com\/google\/recaptcha\/\">Google reCaptcha<\/a>.<\/p>\n\n<p>Once a user successfully submits a test, an AJAX callback will then verify the response and parse the download.<\/p>\n\n<p>`md5` is used to hash the download links and fetch them later once a user submits a test.<\/p>\n\n<p>You must provide your Google reCaptcha credentials which you can obtain from <a href=\"https:\/\/google.com\/recaptcha\/admin\">this page<\/a><\/p>\n\n<p>Once you activate the plugin, you should now navigate to \"Settings\" &gt; \"reCaptcha Downlaods\" (or \"Options\" &gt; \"reCaptcha Downlaods\" for network activated plugin) and add your Google reCaptcha credentials (public and private keys) which you can obtain from https:\/\/www.google.com\/recaptcha\/admin<\/p>\n\n<p>The development version of this plugin is hosted on Github, feel free to fork it, contribute and improve it, or start a new issue if you want to report something like an unusual bug.<\/p>\n\n<p>Here's the Github repo: https:\/\/github.com\/elhardoum\/recaptcha-protected-downloads<\/p>\n\n<p>Thank you!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Visit 'Plugins &gt; Add New'<\/li>\n<li>Search for 'reCaptcha Protected Downloads'<\/li>\n<li>Activate reCaptcha Protected Downloads from your Plugins page. You will have to activate it for the whole network.<\/li>\n<\/ol>\n\n<p>Once you activate the plugin, you should now navigate to \"Settings\" &gt; \"reCaptcha Downlaods\" (or \"Options\" &gt; \"reCaptcha Downlaods\" for network activated plugin) and add your Google reCaptcha credentials (public and private keys) which you can obtain from https:\/\/www.google.com\/recaptcha\/admin<\/p>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial stable release.<\/li>\n<\/ul>","raw_excerpt":"Protect your downloads from bots and spiders with a shortcode and Google&#039;s no-captcha reCaptcha","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/54329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=54329"}],"author":[{"embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/devrix"}],"wp:attachment":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=54329"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=54329"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=54329"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=54329"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=54329"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=54329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}