Advisories sort of

for some reason my interwarn is giving me the finger again… Evan claims that their upgrade changed nothing and right now the only way I can get it to upload is to have it save to a file, then have WD upload that file under general FTp options and it works ok.

However, has anyone got a concrete way of taking the noaa warning that WD produces and put it on a static web page. Other than using tags. I basically would like to have the option of having some warning gif ( a little man in an ark fleeing the storm?, a circle of buzzards or ducks surrounding a guy on the desert or dessert depends on how you look at it). or some way of having it show up as a scroller. or I could put on something like Swiftwx ad and that generally works.

but any ideas

You could use some server sided code to parse the file that WD gets and have it almost anything. Perl or PHP would work.

A basic include would work for the text file assuming it is sent over with the other files by WD.

A alternative solution would be to use a php script that I think CarterLake created that actually gets the warnings and then displays it if there was anything there.

I think that script is in one of the forums under creating websites now. If its not there, I can get you a copy of it.

This is what mine is saying now…

[color=Green][center]Heat Advisory

URGENT - WEATHER MESSAGE
NATIONAL WEATHER SERVICE PHOENIX AZ
309 PM MST SUN JUL 10 2005

AZZ022-023-027-028-111200-
GREATER PHOENIX AREA-NORTHWEST AND NORTH CENTRAL PINAL COUNTY-
NORTHWEST MARICOPA COUNTY-SOUTHWEST MARICOPA COUNTY-
INCLUDING THE CITIES OF…APACHE JUNCTION…CASA GRANDE…COOLIDGE…
FLORENCE…BUCKEYE…CAREFREE…CAVE CREEK…CHANDLER…
FOUNTAIN HILLS…GILBERT…GLENDALE…MESA…PEORIA…PHOENIX…
SCOTTSDALE…SUN CITY…TEMPE…GILA BEND…MORRISTOWN…NEW RIVER…
TONOPAH…WICKENBURG…LAKE PLEASANT
309 PM MST SUN JUL 10 2005

…A HEAT ADVISORY IS IN EFFECT FROM 10 AM UNTIL 8 PM TUESDAY FOR
THE DESERT AREAS OF SOUTH-CENTRAL ARIZONA INCLUDING PHOENIX…

.
.
.
[/center][/color]

I appreciate the help

Is there a noaawarningscrollraw.txt file in your webfiles directory?

that it be… 8O

Ok, I take that file and upload it my server as warning.txt, then using a java applet called scrollitup I get my scrolling window with the weather warning in it. Here’s the code for scrollitup that I use:

<PARAM NAME="hovercolor" VALUE="00ff00">
<PARAM NAME="linkcolor" VALUE="000000">
<PARAM NAME="fontface" VALUE="arial">
<PARAM NAME="fontstyle" VALUE="plain">
<PARAM NAME="fontbold" VALUE="on">
<PARAM NAME="fontsize" VALUE="16">
<PARAM NAME="textfile" VALUE="warning.txt">
<PARAM NAME="brakes" VALUE="40">
<PARAM NAME="margin" VALUE="5">

And what you get is http://weather.dcrooks.net/wx3.html (the big red box).

http://javaboutique.internet.com/ScrollItUp/

You will need to get the jar file that goes with the script for it to work…

http://javaboutique.internet.com/ScrollItUp/ScrollItUp.exe

Mine is setup to show a red warning box on my main web page, but only if there is a warning in effect. If there is a warning, like now, when you visit my main page there will be a red box at the top telling you there is a warning. Clicking on that box will take you to my weather warning page.

Here’s the code that handles that…

Carterlake was generious enough to share this code.

BTW, all of this is using the code already written into WD for getting the warnings…very nice suite of utils.

FAQ: http://discourse.weather-watch.com/t/9695

I got it to work on my hazards page. Couldn’t get the warnings.txt to do its thing, but I did get the noaawarningscrollraw.txt as the file name.

Interwarn is such a pain in the tush at times… they have an upgrade and it does a nice job but doesn’t work for some of us. So… their software people over there claim it is not their software, and it is. I mean it is a nice program, but one cannot down play the NOAA feeds either. OH rats.

I just rename it during the upload, using the actual file name is fine. Glad you were able to get it working.

I have finally figured out what is more maddening than that…

I favor the PHP code myself… as the NOAA radio is beeping it’s advisory, my website displays it (yes, it’s THAT fast!).

http://discourse.weather-watch.com/t/10367