{"id":438,"date":"2014-02-02T13:37:17","date_gmt":"2014-02-02T18:37:17","guid":{"rendered":"http:\/\/www.cloppermillweather.org\/blog\/?p=438"},"modified":"2014-02-02T13:40:09","modified_gmt":"2014-02-02T18:40:09","slug":"back-to-work-on-the-web-site","status":"publish","type":"post","link":"https:\/\/www.cloppermillweather.org\/blog\/2014\/02\/02\/back-to-work-on-the-web-site\/","title":{"rendered":"Back To Work On The Web Site"},"content":{"rendered":"<p>I must have gotten my energy back as I&#8217;ve made several more updates to the Web site.\u00a0 I put the newest advisories Web page into production.\u00a0 I also did some minor tweaking to make some of the transitions look a little smoother.\u00a0 Alerts slide up and down rather than just popping in and out of view.\u00a0 I also toyed around with ways to highlight changed values when the weather data updates dynamically.\u00a0 I tried making the text fade in and out.\u00a0 I also tried having it appear in a different color for a few seconds and then change color to match the rest of the page.\u00a0 That particular effect is used by Weather Underground and by several other personal weather pages.\u00a0 But in the end I decided I didn&#8217;t really like it and put things back so that updated values just change to the new value without drawing any attention.<\/p>\n<p>The next thing I did was test my pages on a browser that doesn&#8217;t have JavaScript to see how they behave.\u00a0 I had to make a few changes to make sure there is static text displayed in those browsers since they can&#8217;t update the page dynamically through JavaScript code.\u00a0 So things like alerts don&#8217;t update when they change, but they do display whatever was in effect when the page is first loaded.\u00a0 Some of these changes required having static and dynamic sections on a page.\u00a0 The static sections display by default.\u00a0 JavaScript code hides the static sections and displays the dynamic portions.\u00a0 Browsers that do not have JavaScript will display the static portion as they can&#8217;t run the code to display the dynamic portions.\u00a0 So now I have some new browsers to test with when I update my pages.\u00a0 And yes, I do still need to zip and post the updated code to the download area of the Web site.<\/p>\n<p>Finally, I have updated my Raspberry Pi in preparation for using it as my newest weather station computer.\u00a0 My current one works fine.\u00a0 My only complaints are that it draws more power than the Pi and won&#8217;t run as long on battery backup.\u00a0 I am adding an external hard drive so that the constant updates to the weather data don&#8217;t &#8220;wear out&#8221; the SD card.\u00a0 Hopefully time will allow me to complete that project in the next few weeks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I must have gotten my energy back as I&#8217;ve made several more updates to the Web site.\u00a0 I put the newest advisories Web page into production.\u00a0 I also did some minor tweaking to make some of the transitions look a &hellip; <a href=\"https:\/\/www.cloppermillweather.org\/blog\/2014\/02\/02\/back-to-work-on-the-web-site\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-438","post","type-post","status-publish","format-standard","hentry","category-weather"],"_links":{"self":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/posts\/438","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=438"}],"version-history":[{"count":0,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/posts\/438\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/media?parent=438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/categories?post=438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/tags?post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}