With Tom at My Mishawaka Weather's assistance I've combined a number of selected NOAA-NWS Forecast Office Text Products into
one script. The script includes Forecast Discussions, Public Information Statements, Hazardous Weather Outlooks, etc.
No attempt has been made to include more than the latest of any of these text products because the link at the bottom of each page will display the relevant page where old products are available.
The settings are few:
/******************************* Settings *********************************/
$divWidth = 656; // Narrow style width
// Enter Default Station
$wfo = "OAX";
$product = 'HWO'; // Default NWS Product to display
/* These are the products available in this script
"AFD" - Forecast Discussion
"CF6" - WFO Monthly Preliminary Report
"FFS" - Flash Flood Statement
"FLW" - Flood Warning
"HWO" - Hazardous Weather Outlook
"HYD" - Daily Hydrometeorology
"LSR" - Local Storm Report
"MAP" - Mean Areal Precipitation
"NOW" - Short Term Forecast
"NPW" - Non-Precip. Wrn./Wtch./Adv.
"PNS" - Public Information Statement
"REC" - Recreational Forecast
"RWS" - Regional Weather Summary
"WSW" - Winter Storm Wrn./Wtch./Adv."
*/
// Enter the path to the map file. Un-comment only 1 line out of the 2 lines below.
// $mappath = './'; // map is in the same folder as this file
$mapPath = './images/'; // map is in the images folder. Change images to the folder where the map is located
$leftMargin = 60; // Set left margin of text output here
/***************************** End Settings *******************************/
The '$leftMargin' parameter affects only the text product appearance, and enables fine-tuning the display to your taste. I just didn't like the text crowded up on the left with no margin, so this solves that problem.
The map and the option list are both functional, and the option list defaults to the current selection. This makes it easier to use the option list to select nearby WFO's rather than always scrolling from the top of the list.
Version 1, while functional, omitted the $mapPath and $leftMargin Settings.
Naturally, product availability varies with seasons, forecast office, and weather.
I should warn you that the products are cached, each product seen for each site visited. Once in a while a cleanup of old cache files in your cache directory (set to './cache/' if not in a template - see line 580 in 'inc-show-wfo-products.php' V2c) would be advisable.
Edit 2016 March 16 & 17: Tulsa, OK was omitted in versions prior to
Version 2d. Version 2c contained a couple more bugs. If you use this script please update to Version 2d.