Alachua Co. EMWIN Project

Alachua Co. EMWIN Project
Free weather alerts!

Friday, August 26, 2011

AC-EMWIN "Adjustments"

Downloaded an additional map database for the AC-EMWIN server software which allows painting of the TS/hurricane watches/warnings along the coastline. Had to take the server down very quickly - no one really noticed - in order to implement it.

Also made a few tweaks to the software not really worth mentioning they're so insubstantial.

Added a link to the NHC to the AC-SKYWARN page's side navbar, as well.

Tuesday, August 9, 2011

Major (Background) Update To AC-SKYWARN Web Page

I decided to go ahead and finally upgrade the AC-SKYWARN web site with changes that I've been meaning to make to them for quite some time, now.

It used to be such a pain whenever I'd want to make the slightest little change to the ACS web pages. If I wanted to change a word, a sentence, add or remove a graphic or something...it always involved making that change multiple times. Why? ...Because of how many different "templates" that I had for just the main front page, alone. Whenever the Hazardous Weather Outlook is issued by NWS-JAX, the AC-EMWIN system reads the "Spotter Activation Statement" section and picks from an assortment of different front page templates each with different spotter activation notices used in the scrolling marquee at the top. There are something liek 8 or 9 templates, altogether. The statement could say "SPOTTER ACTIVATION IS NOT ANTICIPATED AT THIS TIME"; or it could say "SPOTTER ACTIVATION MAY BE NECESSARY LATER TODAY", or "SPOTTERS ARE REQUESTED TO ACTIVATE ATT". So if I wanted to change anything in the static text in each front page template - such as changing a news headline - I'd have to do it in all 9 templates. Same if I wanted to change a sidebar menu navigation button. You can see how frustrating that could become.

So I made use of something called "IFRAME" in HTML code, which allows me to call upon a SEPARATE EXTERNAL FILE and import that into the page. I'm doing this with the date across the top left. I import another external file for the main body text. I import yet another for the sidebar navigation menu. This way, whenever I need to change something in the calendar date script, the change occurs across every page which makes use of it. If I need to make a change to the manu sidebar, that change happens across ALL of the subpages that use it. If I make a change to the main body of the front page...ALL of the various templates will pull that one same file. I no longer have to duplicate my work. That will save me so much time and effort.