{"id":32682,"date":"2014-11-04T21:59:02","date_gmt":"2014-11-04T21:59:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/go-opencalais\/"},"modified":"2014-11-04T21:59:02","modified_gmt":"2014-11-04T21:59:02","slug":"go-opencalais","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/go-opencalais\/","author":72725,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"4.0.38","requires":"3.7","requires_php":"","requires_plugins":"","header_name":"Gigaom OpenCalais","header_author":"A Backstrom, Gigaom","header_description":"","assets_banners_color":"","last_updated":"2014-11-04 21:59:02","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/github.com\/GigaOM\/go-opencalais\/","header_author_uri":"http:\/\/gigaom.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1191,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[11427,15419,32688,940,1901],"plugin_category":[57],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-32682","plugin","type-plugin","status-publish","hentry","plugin_tags-bsuite","plugin_tags-opencalais","plugin_tags-tag-suggestions","plugin_tags-taxonomies","plugin_tags-terms","plugin_category-taxonomy","plugin_committers-misterbisson"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/go-opencalais.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Integrates <a href=\"http:\/\/www.opencalais.com\">OpenCalais<\/a> tag suggestions in the WordPress edit interface. Supports multiple and custom taxonomies. Maps between <a href=\"http:\/\/www.opencalais.com\/documentation\/calais-web-service-api\/api-metadata\/entity-index-and-definitions\">OpenCalais entities and facts<\/a> and WordPress taxonomies, including custom taxonomies.<\/p>\n <p>Suggested tags are shown in the editor interface in the same UI sections where tags are typically added.<\/p>\n <p>Use of this plugin requires an API key and is limited by the API license and terms of service. Register for an API key at http:\/\/www.opencalais.com\/user\/register .<\/p>\n <p>See installation section for custom configuration instructions.<\/p>\n <h4>Batch auto-tagging<\/h4>\n <p>The plugin also includes (not pretty) tools for automatically tagging previously published content. Logged-in users with sufficient permissions can visit <code>wp-admin\/admin-ajax.php?action=go_opencalais_autotag<\/code> which will automatically start tagging content.<\/p>\n <h4>In the WordPress.org plugin repo<\/h4>\n <p>Eventually at: https:\/\/wordpress.org\/plugins\/go-opencalais\/<\/p>\n <h4>Fork me!<\/h4>\n <p>This plugin is on Github: https:\/\/github.com\/GigaOM\/go-opencalais<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Place the plugin folder in your <code>wp-content\/plugins\/<\/code> directory and activate it.<\/li>\n<li>Follow the configuration instructions below to set the <code>api_key<\/code><\/li>\n<\/ol>\n <h4>Configuration<\/h4>\n <p>In your theme or another plugin, add a filter on the <code>go_config<\/code> hook that returns an array of taxonomies when the the 2nd paramter is <code>go-opencalais<\/code><\/p>\n <ul>\n<li><p>Config array format example:<\/p>\n <pre><code>`php <\/code><\/pre>\n <p>array(     'api_key' =&gt; 'insert your api key here',     'post_types' =&gt; array( 'post' ),     'confidence_threshold' =&gt; 0,     \/\/ Number of characters to allow for stuggested tags     'max_tag_length' =&gt; 100,     \/\/ The number of allowed ignored tags per post     'max_ignored_tags' =&gt; 30,     'mapping' =&gt; array(         \/\/ In the format of 'OpenCalais entity name' =&gt; 'WordPress taxonomy',         'socialTag' =&gt; 'post_tag',     ),     'autotagger' =&gt; array(         \/\/ Term to indicate when a post has been autotagged already         'term' =&gt; 'autotagged',         \/\/ The relevance threshold at which to not add a tag         'threshold' =&gt; 0.29,         \/\/ Number of posts to auto tag per batch         'num' =&gt; 5,     ), );     `<\/p><\/li>\n<\/ul>\n <p>That configuration is where the <code>api_key<\/code> is specified, as well as mapping between OpenCalais entities and WordPress taxonomies, valid post types on which to suggest terms, etc.<\/p>","raw_excerpt":"Easier tagging thanks to suggestions from OpenCalais","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/32682","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=32682"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/misterbisson"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=32682"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=32682"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=32682"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=32682"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=32682"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=32682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}