{"id":302,"date":"2008-12-22T22:32:47","date_gmt":"2008-12-23T05:32:47","guid":{"rendered":"http:\/\/www.bigroom.org\/wordpress\/?p=302"},"modified":"2008-12-23T23:21:27","modified_gmt":"2008-12-24T06:21:27","slug":"phone-in-geolocation-almost-working","status":"publish","type":"post","link":"https:\/\/www.bigroom.org\/wordpress\/?p=302","title":{"rendered":"Phone-in Geolocation: almost working&#8230;"},"content":{"rendered":"<p><a href=\"http:\/\/www.littleabout.com\/2008\/06\/06\/nokia-n78-gps-enabled-mobile-phone-now-in-india\/\" target=\"_new\"><img decoding=\"async\" src=\"http:\/\/www.littleabout.com\/cim\/nokia-n78.jpg\" title=\"GPS\/Cellphone (link goes to original site)\" style=\"float:left;\" \/><\/a>It&#8217;s a hasty and rather brittle thing, but I seem to have the asterisk side of the equation functioning at a minimal level, including recording audio to go with the latitude and longitude that I dial in when I call.  Aside from the beautification and cleanup to make it more intuitive, all I need to do is test the &#8220;convert the recording to mp3&#8221; call and whip up a quick frontend to display the data.  Then all of you loyal fans (and\/or secret conspirators) can follow along on my long but hasty journey complete with audio.  Aren&#8217;t you lucky?  (Don&#8217;t answer that&#8230;)  If my schedule works out well enough, I may even be able to do a travelogue update from <a href=\"http:\/\/www.newbelgium.com\/visitus.php#\">New Belgium Brewing Company<\/a> along the way.<\/p>\n<p>The basic process is that I whip out my trusty cellphone, call home, and dial the appropriate extension.  I then key in my latitude and longitude, and then record up to a five minute bit of audio to go with it.  The script then sticks the latitude, longitude, and timestamp (local to the server) at the end of a comma-separated text file and will then invoke a background process of <a href=\"http:\/\/lame.sourceforge.net\/\">LAME<\/a> to convert the file to mp3 for online listening.  I&#8217;m probably only going to have time for a really simple web interface for the moment since I&#8217;ve got to hit the road by lunchtime tomorrow after some work in the morning, but once I&#8217;m back from this trip I&#8217;ll hopefully have a chance to spiff it up.<\/p>\n<p><b>UPDATE 20081223:<\/b>If you&#8217;re bored, and you watch <a href=\"http:\/\/omniblab.dogphilosophy.net\/where\">http:\/\/omniblab.dogphilosophy.net\/where<\/a> you MIGHT see an update or to show up during the day, assuming everything works.  Unfortunately I won&#8217;t actually know if it worked until tonight when I stop for the evening and get online to check it out&#8230;<\/p>\n<p><b>ANOTHER UPDATE 20081223 (late):<\/b> Now that I&#8217;ve stopped for the evening, I&#8217;ve fixed the stupid last-minute typo that was keeping the page from working.  The audio isn&#8217;t automatically being converted to mp3, so until I get time to figure that out the audio parts of the updates won&#8217;t show up until I have time to log in and start the conversion by hand.  Hopefully be able to fix that (and spiff up the display page) in a day or two.<\/p>\n<p>Any questions, comments, or suggestions (or requests)?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s a hasty and rather brittle thing, but I seem to have the asterisk side of the equation functioning at a minimal level, including recording audio to go with the latitude and longitude that I dial in when I call. Aside from the beautification and cleanup to make it more intuitive, all I need to &hellip; <a href=\"https:\/\/www.bigroom.org\/wordpress\/?p=302\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Phone-in Geolocation: almost working&#8230;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48,25,4,13,40,148,2],"tags":[141,44,375,578,583,47,376],"class_list":["post-302","post","type-post","status-publish","format-standard","hentry","category-brew","category-computer-nerdity","category-feedback-solicitation","category-me-me-me","category-neogeography","category-telephony","category-where-was-i","tag-asterisk","tag-brewing","tag-geolocation","tag-neogeography","tag-telephony","tag-travel","tag-travelogues"],"_links":{"self":[{"href":"https:\/\/www.bigroom.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bigroom.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bigroom.org\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bigroom.org\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bigroom.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=302"}],"version-history":[{"count":6,"href":"https:\/\/www.bigroom.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":306,"href":"https:\/\/www.bigroom.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions\/306"}],"wp:attachment":[{"href":"https:\/\/www.bigroom.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bigroom.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bigroom.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}