{"id":153,"date":"2007-08-03T13:04:07","date_gmt":"2007-08-03T17:04:07","guid":{"rendered":"http:\/\/www.glacialcommunications.com\/news\/?p=153"},"modified":"2007-08-03T13:04:07","modified_gmt":"2007-08-03T17:04:07","slug":"well-that-was-lots-of-fun","status":"publish","type":"post","link":"https:\/\/www.glacialcommunications.com\/news\/2007\/08\/well-that-was-lots-of-fun\/","title":{"rendered":"well, that was lots of fun"},"content":{"rendered":"<p>Yesterday should have been the first occurrence of the <a href=\"https:\/\/www.glacialcommunications.com\/news\/?p=141\">automatic PTB podcast post<\/a> on this site. Instead it turned into a comedy of errors that only resolved itself by, as far as I&#8217;m concerned, magic.<\/p>\n<p>It started with my changing the cron time to something before midnight (my hosting is on the west coast, so the MP3 should be ready at wruw.org by 2:58am Eastern&#8230;), but I didn&#8217;t change the day of the week. Oops.  ssh in, fix the crontab, and run the job by hand. OK, it ran, but where&#8217;s the post? Repeatedly try refreshing the feed. Nothing seems to happen.<\/p>\n<p>Another fine feature I attempted to add was to change the pubDate tags in the XML to make the RSS feed validate (Month Day, Year isn&#8217;t good enough). My change actually broke the feed syndication&#8217;s parser, rendering the date to sometime in 1969, thus sticking the post at the bottom of time. Ugh! Decide validation can wait and change script back to Month Day, Year.<\/p>\n<p>Login, change the date on the post to something reasonable. Still not showing correctly. WTF? Watch logs. Try various things. Nothing works. Decide using <a href=\"http:\/\/typosphere.org\/\">Typo<\/a> for the <a href=\"http:\/\/blog.pl.atea.us\">new GIS site I&#8217;m messing around with&#8217;s blog<\/a> was a good idea.<\/p>\n<p>See something odd pass by in the logs. Something about wp-cron that was triggered by someone else&#8217;s visit to the site. Reload page. Hey! My edited post is now on top!<\/p>\n<p>Now let&#8217;s see what happens next week&#8230; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday should have been the first occurrence of the automatic PTB podcast post on this site. Instead it turned into a comedy of errors that only resolved itself by, as far as I&#8217;m concerned, magic. It started with my changing the cron time to something before midnight (my hosting is&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/www.glacialcommunications.com\/news\/2007\/08\/well-that-was-lots-of-fun\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,7,20,25],"tags":[],"class_list":["post-153","post","type-post","status-publish","format-standard","hentry","category-general","category-ptb-podcasts","category-software","category-syndication"],"_links":{"self":[{"href":"https:\/\/www.glacialcommunications.com\/news\/wp-json\/wp\/v2\/posts\/153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.glacialcommunications.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.glacialcommunications.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.glacialcommunications.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.glacialcommunications.com\/news\/wp-json\/wp\/v2\/comments?post=153"}],"version-history":[{"count":0,"href":"https:\/\/www.glacialcommunications.com\/news\/wp-json\/wp\/v2\/posts\/153\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.glacialcommunications.com\/news\/wp-json\/wp\/v2\/media?parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.glacialcommunications.com\/news\/wp-json\/wp\/v2\/categories?post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.glacialcommunications.com\/news\/wp-json\/wp\/v2\/tags?post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}