Thanks, Sam & Curly!
Great scripts Curly! I finally got everything up and running this afternoon with Curly''s scripts on my GoDaddy site. Had to set up multiple CRON jobs to get an update every 10 minutes.
Installing AtomAlerts sort of broke my mobile website which started throwing multiple 'header already sent' error messages at the top. I had to modify 'top.php' like this:
//Version top.php - V3.01 - 03-Mar-2011 - added Content-Type header for charset switching
############################################################################
if ($mobTitle == '') {
header("Content-Type: text/html; charset=".strtoupper($SITE['charset'])); // Avoid mobile error
}
And 'include-style-switcher.php' needed this change:
############
# Use cookies to remember settings between site visits
############
# cookies are used to remember the users style settings on each visit to the web site
# you can disable use of cookies, but then the settings would have to be set by
# the user each visit to the web site
# recommended setting: true
if ($mobTitle != '') {
$use_cookies = false; # avoid mobile error
}
else {
$use_cookies = true; # set to true or false
}
Lastly I also made this change to 'WWL-mobile.php':
// --- settings for standalone use --------------------------
############################################################################
session_start(); // Avoid 'headers already sent' error
With each successive change I got fewer and fewer errors until they finally all disappeared.
I switched out the alert box from 'wxadvisory.php' to 'AtomArray.php' as per Curly's instructions and added the alerts to the menubar just so they'll be visible on all pages. I'm anxious to see how they work. Perhaps I was a bit ambitious in including the contiguous counties, but I'll have to see how it works before I decide on any more changes.