Free Weather Website Templates

They're free, but use at your own risk

The scripts referenced here are used in the operation of this weather station, and may be freely copied and used to support your station. Please note that you use these scripts at your own risk. No warranty is expressed or implied. I accept no liability for any damages that may ensue from their use.
You will need to configure them for your own particular weather station website.
RSS feed for Scripts Updates A RSS Feed is available to help keep you informed on updates to the scripts.

If you find one or more of the scripts useful to you, please consider making a donation to help offset the routine expenses of operation of this website.
Thanks for your kind support!

A Version History is available -- check back from time to time to see if there are updates to scripts you have downloaded earlier. Announcements of version updates and new scripts are made on and Weather-Watch forums and saratogaWXPHP Twitter account as they become available.

This page was updated Wednesday, 02-Sep-2009 11:27 AM

Weather Display/PHP/AJAX Website Template Set - Settings.php - World

The configuration for Settings.php discussed here is for the World Specific template set. It assumes you've already done the common Settings.php configuration required for all the template sets.
Common Settings in Settings.php | USA specific | Canada specific | Canada-ML specific | World specific | World-ML specific | menubar.php configuration

# if your WD uploads almanac dates using a language OTHER THAN English, please put the month
# names in your language to replace the English ones below.  This is used primarily by the
# wxastronomy.php page for the local dates of moon phases, solistices, and equinoxes
$SITE['monthNames'] = array(  // for wxastronomy page .. replace with month names in your language 

# if you have WXSIM and plaintext-parser.php, set $SITE['WXSIM'] = true;
# to have the WXSIM forecast text appear in the dashboard along with your primary forecast org's
# forecast.  
$SITE['WXSIM']            = true;  // Set to false if no WXSIM/plaintext-parser.php
$SITE['WXSIMscript']     = 'plaintext-parser.php'// script for decoding plaintext.txt into icons
$SITE['defaultlang']    = 'en';   // 'en' for English (WXSIM plaintext-parser.php)

$SITE['fcsticonsdir'] = './forecast/images/'// NOAA-style icons for NWS, WU, WXSIM forecast scripts

# fcsturlWU  the Wunderground URL for the non-US/non-Canadian forecasts (WU-forecast.php)
$SITE['fcsturlWU']         = ''// Awhitu, Waiuku New Zealand

#---- in the following section, enable settings for ONE primary forecast organization
# pick which script AND org are to be used for your forecast here: (last uncommented pair will
#  be the ones used on the wxforecast.php page and in your dashboard and sidebar

$SITE['fcstscript']    = 'WU-forecast.php';    // Non-USA, Non-Canada Wunderground Forecast Script
$SITE['fcstorg']        = 'WU';    // set to 'WU' for WeatherUnderground

#$SITE['fcstscript']    = 'plaintext-parser.php';    // WXSIM forecast (if only forecast script)
#$SITE['fcstorg']        = 'WXSIM';    // set to 'WXSIM' for WXSIM forecast

$SITE['monthNames'] = array(
This setting is used by the wxastronomy.php page to parse the lunar/solar dates from Weather-Display.
If your dates on the wxastronomy.php appear correct, there is no need to use this setting.
If the dates are shown in a language other than English, then use this setting to specify the names of the months in your language.
For example, a Danish specification would appear as:
$SITE['monthNames'] = array(

$SITE['WXSIM'] = true;
$SITE['WXSIMscript'] = 'plaintext-parser.php';
If you have WXSIM operating on your website, this specifies the formatting script to use.
Set $SITE['WXSIM'] = false; if you aren't using WXSIM.
$SITE['defaultlang'] = 'en';
This setting specifies the default language to use for the WXSIM plaintext-parser.php. Please ensure you have the appropriate language plugin file (plaintext-parser-lang-XX.txt) in the same directory as plaintext-parser.php in order to engage this feature. You may also have to change the $SITE['charset'] setting if your language file is not using iso-8859-1 Latin character set.
$SITE['fcsticonsdir'] = './forecast/images/';
This specifies the relative FILE location of the icon set used by the forecast scripts (advforecast.php, WU-forecast.php, WXSIM plaintext-parser.php)
$SITE['fcsturlWU'] = '';
This setting specifies the Weather Underground URL to use for obtaining your local forecast. It overrides this setting found in the WU-forecast.php script itself.
$SITE['fcstscript'] = 'WU-forecast.php';
$SITE['fcstorg'] = 'WU';
This setting specifies the use of Weather Underground as the forecast source (using the WU-forecast.php script. The forecast icons and text are used by the ajax-dashboard, ajax-sidebar and wxforecast.php page. Optionally, you can use WXSIM for the forecast source by setting
$SITE['fcstscript'] = 'plaintext-parser.php'; and
$SITE['fcstorg'] = 'WXSIM';
This will cause the WXSIM forecast icons to appear in the ajax-dashboard and WXSIM forecast to be used on the wxindex.php and wxforecast.php page.

In the World template set, you'll notice that the wxadvisory.php and wxradar.php pages will need you to add content reflecting your national weather information source. Please add your own content to those two pages since they are unique to your location/nation.