{"id":8808,"date":"2015-03-14T12:01:22","date_gmt":"2015-03-14T18:01:22","guid":{"rendered":"http:\/\/macblaze.ca\/?p=8808"},"modified":"2015-03-12T10:03:42","modified_gmt":"2015-03-12T16:03:42","slug":"doctor-doctor","status":"publish","type":"post","link":"https:\/\/macblaze.ca\/?p=8808","title":{"rendered":"Revisiting KMLs"},"content":{"rendered":"<hr \/>\n<p>So I am still not happy with my various methods of posting KML files (tracks from my Navionics chartplotter) to the blog while on a cruise. <a href=\"http:\/\/macblaze.ca\/?p=7467\" target=\"_blank\">The last method<\/a> involved using FTP Manager to upload the files from my phone which is a bit clunky and likely to break down in areas of bad internet\u2014which hopefully I encounter lots this summer :-).<\/p>\n<h4>Brainstorm<\/h4>\n<p>It occurred to me that the Navionics app allowed me to post my tracks to Facebook directly, so there must be a way to leverage that for my WordPress blog. Then I remembered the Post by Email function built into WordPress. What this does is generate a complex email address and any email sent to it automatically posts to the blog. I checked it out again (haven&#8217;t looked at it for several versions) and it was vastly improved and no longer needs a specified mail server.<\/p>\n<p>And it allows the use of a great set of <em>shortcodes<\/em> to provided most of the functionality I normally use.<\/p>\n<blockquote><p>[category d-autres]<br \/>\n[delay +2 days] [delay +1 hour] [delay 2015-12-01 11:30:00 MST]<br \/>\n[comments on | off]<br \/>\n[status publish | pending | draft | private]<br \/>\n[slug some-url-name]<br \/>\n[title Your post title]<br \/>\n[end] \u2013 everything after this shortcode is ignored (i.e. signatures). Make sure it\u2019s on its own line with a blank line above it.<\/p><\/blockquote>\n<p>So if I combine my newfound use of <a href=\"http:\/\/macblaze.ca\/?p=7837\" target=\"_blank\">Markdown<\/a> and its shortcuts (<a href=\"http:\/\/macblaze.ca\/?p=7856\" target=\"_blank\">previously detailed <\/a>) with the email function of the app, I could post directly to my blog with all the text for the blog entry, a thumbnail of the track and a link to the original KML file all in one swoop. Then I could come back later and reset the KML files using the ftp method so they stuck around for posterity.<\/p>\n<p>So, write the blog post in a text-editor using markdown &amp; shortcodes, copy it into the Navionics app on the appropriate Track, and hit send. Simple as pie!<\/p>\n<p>The posts would look like this:<\/p>\n<h3>Day 4 Sailing Ho<\/h3>\n<p>To day I set sail and sailed the ocean blue in my sailboat powered completely by sails. It was grand!<\/p>\n<p>Track recorded with Navionics App.<br \/>\nView it: <a href=\"http:\/\/tinyurl.com\/pyp7fsh\">http:\/\/tinyurl.com\/pyp7fsh<\/a><br \/>\nDownload it: <a href=\"http:\/\/tinyurl.com\/o863o6f\">http:\/\/tinyurl.com\/o863o6f<\/a><\/p>\n<p><a href=\"http:\/\/macblaze.ca\/wp-content\/uploads\/2015\/03\/Image-11.png\" rel=\"attachment wp-att-8809\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-8809\" title=\"image-11-png\" src=\"http:\/\/macblaze.ca\/wp-content\/uploads\/2015\/03\/Image-11.png\" alt=\"\" width=\"1024\" height=\"1024\" \/><\/a><\/p>\n<p>Now all I need is to get back out on the water&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I am still not happy with my various methods of posting KML files (tracks from my Navionics chartplotter) to the blog while on a cruise. The last method involved using FTP Manager to upload the files from my phone which is a bit clunky and likely to break down in areas of bad internet\u2014which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false},"categories":[1,90],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/8808"}],"collection":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8808"}],"version-history":[{"count":0,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/8808\/revisions"}],"wp:attachment":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}