{"id":23633,"date":"2013-05-30T09:57:03","date_gmt":"2013-05-30T09:57:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/attachment-cruncher\/"},"modified":"2013-05-31T10:10:01","modified_gmt":"2013-05-31T10:10:01","slug":"attachment-cruncher","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/attachment-cruncher\/","author":5627872,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.3","stable_tag":"0.3","tested":"3.5.2","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"Attachment Cruncher","header_author":"Peter Hudec","header_description":"","assets_banners_color":"","last_updated":"2013-05-31 10:10:01","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=NNPNMTTULB3AS","header_plugin_uri":"http:\/\/peterhudec.com\/programming\/2013\/05\/29\/attachment-cruncher-wordpress-plugin","header_author_uri":"http:\/\/peterhudec.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1130,"num_ratings":0,"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","0.2","0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"720318","resolution":"1","location":"assets"}},"screenshots":{"1":"Plugin Settings"}},"plugin_section":[],"plugin_tags":[2264,1346,472,84,609],"plugin_category":[50,57],"plugin_contributors":[85684],"plugin_business_model":[],"class_list":["post-23633","plugin","type-plugin","status-closed","hentry","plugin_tags-attachment","plugin_tags-attachments","plugin_tags-keywords","plugin_tags-media","plugin_tags-tags","plugin_category-media","plugin_category-taxonomy","plugin_contributors-peterhudec","plugin_committers-peterhudec"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/attachment-cruncher.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/attachment-cruncher\/assets\/screenshot-1.png?rev=720318","caption":"Plugin Settings"}],"raw_content":"<!--section=description-->\n<p>This plugin was created as a response to\n<a href=\"http:\/\/wordpress.org\/support\/topic\/keywords-tags\">pupular demand on the Image Metadata Cruncher support forum<\/a>,\nwhere people were asking for a solution to convert <strong>image metadata keywords<\/strong> created with\nAdobe Ligtroom, Photo Mechanic, Fotostation or whatever tool\nto <strong>post tags<\/strong> or <strong>categories<\/strong>.<\/p>\n\n<p><strong>Attachment Cruncher<\/strong> can transfer these <strong>attachment<\/strong> properties:<\/p>\n\n<ul>\n<li>title<\/li>\n<li>caption<\/li>\n<li>description<\/li>\n<li>alt<\/li>\n<li>meta fields<\/li>\n<\/ul>\n\n<p>To these <strong>post<\/strong> properties:<\/p>\n\n<ul>\n<li>title<\/li>\n<li>excerpt<\/li>\n<li>content<\/li>\n<li>meta fields<\/li>\n<li>categories, tags and any other taxonomy<\/li>\n<\/ul>\n\n<p>You can choose whether it should take into account:<\/p>\n\n<ul>\n<li>Media attached to the post.<\/li>\n<li>Media inserted to the post content.<\/li>\n<\/ul>\n\n<p>You can choose when the transfer should happen:<\/p>\n\n<ul>\n<li>When the post is being saved.<\/li>\n<li>When an attachment attached to the post is being added or saved.<\/li>\n<li>When an attachment is being attached to a post.<\/li>\n<\/ul>\n\n<p>You can use the plugin in <strong>conjunction with other plugins<\/strong>.\nIf you for example want to convert IPTC keywords of an image to tags of the post to which the image is attached,\nuse first <a href=\"http:\/\/wordpress.org\/plugins\/image-metadata-cruncher\/\">Image Metadata Cruncher<\/a>\nto extract the keywords from the image to\na custom attachment meta field (or any other attachment property) and then use\n<strong>Attachment Cruncher<\/strong> to convert the keywords stored in the custom meta to tags or\ncategories of the post to which the image is attached.<\/p>\n\n<p>You can also call the plugin public methods from your theme's code:<\/p>\n\n<pre><code>$attachment_cruncher-&gt;crunch( $post_ID );\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>Copy the <strong>attachment-cruncher<\/strong> folder into the plugins directory and activate.<\/p>\n\n<!--section=changelog-->\n<h4>0.3<\/h4>\n\n<ul>\n<li>Works now also with PHP 5.2.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Removed default post meta \"a\" and \"b\".<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial version<\/li>\n<\/ul>","raw_excerpt":"A Swiss Army Knife for transfering media attachment properties to post properties.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/23633","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=23633"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/peterhudec"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=23633"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=23633"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=23633"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=23633"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=23633"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=23633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}