{"id":5274,"date":"2016-02-20T20:02:32","date_gmt":"2016-02-21T02:02:32","guid":{"rendered":"http:\/\/w0ep.us\/OM\/?p=5274"},"modified":"2016-02-20T20:03:24","modified_gmt":"2016-02-21T02:03:24","slug":"some-radio-station-work","status":"publish","type":"post","link":"http:\/\/w0ep.us\/OM\/?p=5274","title":{"rendered":"Some radio station work"},"content":{"rendered":"<p>[Today&#8217;s run: 5.5 miles]<\/p>\n<p>I was a bit under the weather yesterday so I took the afternoon off.\u00a0 Sometimes it is good to dip into that available sick-time when the old thinker is not really up to par.\u00a0 I hate changing something and having 50-100 people suddenly locked out of the system and everybody pointing at me.\u00a0 Ok, so just step back and take a break.<\/p>\n<p>Instead I was goofing around with the radio station playback system.\u00a0 Each day I form a list of play for the next day.\u00a0 That list is called a &#8220;log&#8221;.\u00a0 I was working on a query of the database that would show the major piece being broadcast for each hour.\u00a0 I got that working pretty good.<\/p>\n<p>Then I found information about how to make a post on a WordPress website (like this one) using a script.<\/p>\n<p>And then I joined the scripts together.\u00a0 So now I can easily have tomorrow&#8217;s log turn into a web post showing the major pieces for tomorrow&#8217;s broadcast.\u00a0 You saw an example in my post yesterday.\u00a0 And our <a href=\"http:\/\/www.wmfhlp.org\/?page_id=10\">radio station website has them over here<\/a>.<\/p>\n<p>I&#8217;m pretty happy with that.\u00a0 I would like to make the title clickable to send you to\u00a0<a href=\"http:\/\/librivox.org\"> librivox.org<\/a> so you could download the same piece for yourself, or see the text that was recorded.\u00a0 Also, I would like to figure out a way to show the full schedule.\u00a0 That is more tricky.<\/p>\n<p>But I was gratified that I could get this far and maybe the next steps will go as smoothly.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[Today&#8217;s run: 5.5 miles] I was a bit under the weather yesterday so I took the afternoon off.\u00a0 Sometimes it is good to dip into that available sick-time when the old thinker is not really up to par.\u00a0 I hate changing something and having 50-100 people suddenly locked out of the system and everybody pointing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-5274","post","type-post","status-publish","format-standard","hentry","category-classic-book-radio"],"_links":{"self":[{"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/posts\/5274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5274"}],"version-history":[{"count":2,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/posts\/5274\/revisions"}],"predecessor-version":[{"id":5276,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=\/wp\/v2\/posts\/5274\/revisions\/5276"}],"wp:attachment":[{"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5274"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/w0ep.us\/OM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}