{"id":302,"date":"2011-12-20T01:37:37","date_gmt":"2011-12-20T06:37:37","guid":{"rendered":"http:\/\/www.cloppermillweather.org\/blog\/?p=302"},"modified":"2011-12-20T01:40:03","modified_gmt":"2011-12-20T06:40:03","slug":"new-template","status":"publish","type":"post","link":"https:\/\/www.cloppermillweather.org\/blog\/2011\/12\/20\/new-template\/","title":{"rendered":"New Template"},"content":{"rendered":"<p>I decided it was time for a fresh look for the weather Web site.\u00a0 I had been experimenting with a new CSS template I had gotten from a CSS Templates Web site.\u00a0 The template looked pretty clean, but I wasn&#8217;t certain I wanted to use it since it was intended for a blog site.\u00a0 But after working with it for a while the look and feel started to grow on me.\u00a0 So I built a new site on my development sever and worked out the kinks.<\/p>\n<p>Yesterday I promoted the new site to cloppermillweather.org.\u00a0 All the pages except one validate as XHTML 1.0 strict.\u00a0 The remaining page that fails validation embeds some HTML I get from a news feed that isn&#8217;t compliant.\u00a0 I haven&#8217;t decided whether to back off from strict to transitional for that page, edit the HTML using PHP to make it conform, or remove that data entirely.\u00a0 I&#8217;ll probably make my decision and implement the fix later today.<\/p>\n<p>While I was at it, I made a few minor tweaks to the AJAX code to make the UI a little nicer and to make maintenance easier.\u00a0 One nice UI feature I added is to update the Webcam thumbnail image.\u00a0 I still have plans to completely restructure the site folder structure and modify the PHP code to make it more object oriented.\u00a0 I&#8217;ve started on it, but it will be a lot of work and will take some time still.\u00a0 That and I still need to fix the rain gauge.\u00a0 Still more to come.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I decided it was time for a fresh look for the weather Web site.\u00a0 I had been experimenting with a new CSS template I had gotten from a CSS Templates Web site.\u00a0 The template looked pretty clean, but I wasn&#8217;t &hellip; <a href=\"https:\/\/www.cloppermillweather.org\/blog\/2011\/12\/20\/new-template\/\">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-302","post","type-post","status-publish","format-standard","hentry","category-weather"],"_links":{"self":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/posts\/302","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=302"}],"version-history":[{"count":0,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/posts\/302\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/media?parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/categories?post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/tags?post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}