{"id":231,"date":"2011-10-30T20:08:47","date_gmt":"2011-10-31T00:08:47","guid":{"rendered":"http:\/\/www.cloppermillweather.org\/blog\/?p=231"},"modified":"2011-10-31T07:25:36","modified_gmt":"2011-10-31T11:25:36","slug":"ajax-updates","status":"publish","type":"post","link":"https:\/\/www.cloppermillweather.org\/blog\/2011\/10\/30\/ajax-updates\/","title":{"rendered":"Ajax Updates"},"content":{"rendered":"<p>I started working on adding support for Ajax updates to the Web site.\u00a0 This allows the Web pages to update themselves without refreshing the entire page.\u00a0 I started with the main page, and only updating the basics: temperature, humidity, pressure, wind speed, and wind direction.\u00a0 So far it appears to be working well.\u00a0 It requests new weather data every 10 seconds or so.\u00a0 The weather station software only uploads the weather information once per minute, so the Web page doesn&#8217;t get new data more often than that.\u00a0 So I need to change the interval for uploading weather data to the Web site.\u00a0 Then I can work on making the Ajax code more general and use it on all of the Web pages.<\/p>\n<p>I&#8217;ve also been looking at some CSS templates in an effort to make the Web site look a little more attractive.\u00a0 Up till now the focus has been on getting everything working.\u00a0 There may still be a few bugs in the calculations waiting to be found, as I probably missed something in my move from Java to PHP.\u00a0 But I feel like I can put some time into aesthetics at this point.\u00a0 Moving to a new template will be quite a bit of work.\u00a0 But hopefully the outcome will be worth the effort.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I started working on adding support for Ajax updates to the Web site.\u00a0 This allows the Web pages to update themselves without refreshing the entire page.\u00a0 I started with the main page, and only updating the basics: temperature, humidity, pressure, &hellip; <a href=\"https:\/\/www.cloppermillweather.org\/blog\/2011\/10\/30\/ajax-updates\/\">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-231","post","type-post","status-publish","format-standard","hentry","category-weather"],"_links":{"self":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/posts\/231","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=231"}],"version-history":[{"count":0,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/posts\/231\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/media?parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/categories?post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/tags?post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}