{"id":40387,"date":"2015-11-26T13:02:16","date_gmt":"2015-11-26T13:02:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/update-post-with-exif-data\/"},"modified":"2016-09-30T09:46:54","modified_gmt":"2016-09-30T09:46:54","slug":"update-post-with-exif-data","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/update-post-with-exif-data\/","author":5101522,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.1","stable_tag":"1.3.1.1","tested":"4.6.30","requires":"4.3","requires_php":"","requires_plugins":"","header_name":"Update Post with EXIF data","header_author":"Mark Howells-Mead","header_description":"","assets_banners_color":"","last_updated":"2016-09-30 09:46:54","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/mhmli","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/update-post-with-exif-data\/","header_author_uri":"http:\/\/permanenttourist.ch\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2645,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.1.1":{"tag":"1.1.1","author":"markhowellsmead","date":"2016-03-31 09:01:03"},"1.2.0":{"tag":"1.2.0","author":"markhowellsmead","date":"2016-04-04 11:58:12"},"1.2.1":{"tag":"1.2.1","author":"markhowellsmead","date":"2016-04-12 20:51:49"},"1.2.1.1":{"tag":"1.2.1.1","author":"markhowellsmead","date":"2016-04-12 21:12:43"},"1.2.2":{"tag":"1.2.2","author":"markhowellsmead","date":"2016-09-14 07:29:45"},"1.3.0":{"tag":"1.3.0","author":"markhowellsmead","date":"2016-09-30 09:06:47"},"1.3.1":{"tag":"1.3.1","author":"markhowellsmead","date":"2016-09-30 09:46:25"},"1.3.1.1":{"tag":"1.3.1.1","author":"markhowellsmead","date":"2016-09-30 09:46:54"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.1","1.2.0","1.2.1","1.2.1.1","1.2.2","1.3.0","1.3.1","1.3.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[12056,2591,62846,4096,2215],"plugin_category":[49,57],"plugin_contributors":[84231],"plugin_business_model":[],"class_list":["post-40387","plugin","type-plugin","status-publish","hentry","plugin_tags-exif","plugin_tags-geo","plugin_tags-geoencoding","plugin_tags-iptc","plugin_tags-location","plugin_category-maps-and-location","plugin_category-taxonomy","plugin_contributors-markhowellsmead","plugin_committers-markhowellsmead"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/update-post-with-exif-data.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>If the appropriate checkboxes are selected in the Post submit box when saving the Post, the plugin reads the EXIF data of the Post's <em>Featured Image<\/em> and adds Post Tags and a custom meta value \u201c<em>location<\/em>\u201d containing the serialized GPS location data of the image.<\/p>\n\n<ul>\n<li>If the Post has no Featured Image, or if the Featured Image's EXIF data is incomplete, then nothing happens.<\/li>\n<li>The EXIF data is read directly from the image file, not from a database entry.<\/li>\n<li>If standard values \u201cGPSLongitude\u201d and \u201cGPSLatitude\u201d are not available in the Featured Image's EXIF data, the post will not be updated with the custom meta field. (A pre-existing value will not be deleted, if this happens.)<\/li>\n<li>When saving Post Tags, the standard taxonomy <code>post_tag<\/code> is set. If you need to modify this, for example in the case of a custom taxonomy, then you can use the filter hook <code>update-post-with-exif-data\/post_taxonomy<\/code> to change it.<\/li>\n<li>If you want to see the custom meta value containing serialized GPS location data in the WordPress backend, you'll need to parse the data and add this field yourself. A good solution for this is the \u201cAdvanced Custom Fields\u201d plugin by Elliot Condon, with field type \u201cGoogle Map\u201d.<\/li>\n<li>Developers: see the code for a WordPress action hook <code>update-post-with-exif-data\/no-gps<\/code>, which fires in the event that there is no valid GPS data available in the Featured Image.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.3.1.1<\/h4>\n\n<ul>\n<li>Correct version number in README.<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Additional safeguards in the event of missing GPS data in the EXIF array.<\/li>\n<li>Add <code>update-post-with-exif-data\/no-gps<\/code> action hook to function <code>addImageLocationToPost<\/code>.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li><strong>Breaking change<\/strong>: filter hook <code>post_exif_data_taxonomy<\/code> is now renamed <code>update-post-with-exif-data\/post_taxonomy<\/code>.<\/li>\n<li><strong>Bugfix<\/strong>: check to ensure that both GPSLongitude and GPSLatitude are set before updating location meta.<\/li>\n<li>Add unique PHP namespace.<\/li>\n<li>Comply with PSR-2 coding standards.<\/li>\n<li>Add action to assist with debugging.<\/li>\n<li>Extend plugin description for better clarification.<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Confirmation of compatibility with WordPress 4.6.<\/li>\n<\/ul>\n\n<h4>1.2.1.1<\/h4>\n\n<ul>\n<li>Fix typo in README.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Confirmation of compatibility with WordPress 4.5.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Replace hard-coded list of customized taxonomy keys with standard taxonomy <code>post_tag<\/code>, and add filter to allow this\nto be customized by third parties.<\/li>\n<li>Clean up code (whitespace, commenting).<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Corrections to version numbering in README\/SVN.<\/li>\n<li>Confirmation of support in WordPress 4.4.2.<\/li>\n<li>No functional changes.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Initial public version.<\/li>\n<\/ul>","raw_excerpt":"Reads in EXIF data of Post Thumbnail, then adds Post tags and a custom meta value containing the serialized GPS location data of the Post&#039;s Featu &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/40387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=40387"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/markhowellsmead"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=40387"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=40387"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=40387"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=40387"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=40387"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=40387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}