{"id":490,"date":"2015-04-02T08:35:48","date_gmt":"2015-04-02T12:35:48","guid":{"rendered":"http:\/\/www.cloppermillweather.org\/blog\/?p=490"},"modified":"2015-04-02T08:35:48","modified_gmt":"2015-04-02T12:35:48","slug":"user-agent","status":"publish","type":"post","link":"https:\/\/www.cloppermillweather.org\/blog\/2015\/04\/02\/user-agent\/","title":{"rendered":"User Agent"},"content":{"rendered":"<p>I noticed yesterday that the weather forecast on my Web site was almost 24 hours out of date.\u00a0 I looked through my log files and saw that I was getting a 403 error which means access denied or a permissions problem.\u00a0 When I browsed to the same pages using a browser I was able to access them just fine.\u00a0 I was also able to use wget to retrieve the pages. I decided it might be a problem where PHP was not sending a user agent header and the NWS Web server was looking for one.\u00a0 I added a user agent header to all of my pages that retrieve weather data from the NWS and everything is back up and running again.<\/p>\n<p>I&#8217;ve also noticed, but nor done anything about two of my other pages,\u00a0 The RSS feeds I was using for local alerts and traffic information no longer operate as the feeds have been discontinued.\u00a0 I put a message on the pages and will need to search for a new source of traffic and alert information.<\/p>\n<p>Other than that the station has been running on auto-pilot for quite a few months now.,\u00a0 I&#8217;m probably overdue for some type of hardware failure but I&#8217;m keeping my fingers crossed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I noticed yesterday that the weather forecast on my Web site was almost 24 hours out of date.\u00a0 I looked through my log files and saw that I was getting a 403 error which means access denied or a permissions &hellip; <a href=\"https:\/\/www.cloppermillweather.org\/blog\/2015\/04\/02\/user-agent\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-490","post","type-post","status-publish","format-standard","hentry","category-weather"],"_links":{"self":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/posts\/490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/comments?post=490"}],"version-history":[{"count":0,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/posts\/490\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/media?parent=490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/categories?post=490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/tags?post=490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}