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.

Many of these scripts are now available on GitHub at

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, 27-May-2020 8:58 AM

PHP/AJAX Website Template Sets

This template set is based on the original HTML-only Carterlake WD templates with the addition of AJAX real-time updates and a full-PHP modular website design incorporating the TNETweather modular site design. The templates use a modified weather-screen.css to implement a fixed-width (800px) website or full-width design with built-in color/width style changer. Using PHP allows this template to require only one file to be uploaded through your weather software for symbolic substitution for weather conditions. The AJAX JavaScript reads a separate, frequently uploaded, conditions file produced by your weather software to dynamically update selected parts of the HTML on the pages to reflect really current conditions at your location.

The templates are grouped into three basic versions based on geographic location, and include the support scripts needed for that geography:

  • USA-template (for USA, Puerto Rico and Virgin Islands)
  • Canada-Multingual template English/French (for Canada)
  • World-Multilingual template (for non-USA, non-Canada)

Plugins are available for weather station software:

  • New! Network (requires userid on AND DeviceID AND apiKey)
  • Cumulus 1 or CumulusMX
  • Meteobridge
  • Meteohub
  • Virtual Weather Station
  • Weather-Display
  • WeatherCat (Version V0.95, Build 152 or later) (Successor product to Lightsoft Weather Center (LWC))
  • WeatherLink
  • (requires a userid/password on AND DeviceID, Key for station)
  • WeatherSnoop (Version 2.1.1 or later)
  • wview
  • WxSolution

A complete template consists of a Base (determined by your geographical location) and a Plugin for your specific weather software.

Main features of the template set:

  • Modular structure for display pages on website with primary areas (top, header, sidebar, footer) controlled by included parts so global changes can be easily made to one file and shown on all pages in the site.
  • A 4-level CSS-based flyout-menu system controlled by specification in one XML file.
  • Built-in theme switcher allowing optional viewer control over website color scheme and wide/narrow aspect (with user preferences remembered by browser cookie)
  • Built-in multilingual translation capability for single-phrase lookup (English to target language) and entire-page fixed content translation.
  • Integrated support scripts for forecasts, alerts, and earthquake information appropriate to the geography selected.
  • Built-in optional debugging displays for remote site support.
  • Validated XHTML 1.0-Transitional HTML and CSS 2.1
Base Templates (images shown with VWS-plugin active)
USA template demo - click to see Canada template demo - click to see World template demo - click to see

USA languages included:
(but may add language plugins)

Canada languages included:
English, Français,

World languages included:
English, Afrikaans, български език, Català, Dansk, Nederlands, Suomi, Français, Deutsch, Ελληνικά, Italiano, עִבְרִית. Norsk, Polski, Português, limba română, Español, Svenska, Slovenščina

Additional live sample (Base-USA) sites with other weather software plugins:
CumulusMX | Meteobridge | |


Please follow the links below for information, download and installation/configuration guidance.

Version history (latest 20 updates)

  • Version 3.326 - 15-Jul-2020 (Base-USA) update advforecast2.php (JSON) V5.17 for improved error handling, curl logging capability and to use GeoJSON queries w/new cache filenames
  • Version 3.325 - 07-Jul-2020 (Base-*) update quake-json.js V1.01 to fix window.onload interference with sorttable function
  • Version 3.324 - 30-Jun-2020 (Base-*) update quake-json.php V3.03 to fix translation HTML validation and add $SITE['USGStranslate'] Settings.php capability
  • Version 3.323 - 27-Jun-2020 (Base-*) update quake-json.php V3.02 to provide location name translation (e.g. Hawaiian 'P?hala' with 'Pāhala' )
  • Version 3.322 - 25-Jun-2020 (Base-USA) update advforecast2.php V5.15 for diagnostic info to help diagnose Akamai cache issues from site
  • Version 3.321 - 10-Jun-2020 (Base-*) update check-fetch-times.php V1.37 for additional diagnostics;
    (Base-USA) update wxindex.php (V1.04), Settings.php (V1.03) and add USA-regional-maps-inc.php (V1.00) for NWS Regional Radar map replacing WU Radar maps (now no longer working) on (wx)index.php above dashboard.
  • Version 3.320 - 26-May-2020 (Base-*) update quake-json.php V3.01 to fix cache issue with HTTP/2 response from USGS website
  • Version 3.319 - 22-May-2020 (Base-*) update check-fetch-times.php V1.36 version checking;
    (Base-USA) add wxnwsradar*.php, hanis_min.js scripts for NWS Radar displays (thanks to Jerry Wilkins for permisson to use his scripts!), update radar-status.php V1.14 and flyout-menu.xml to support the wxnwsradar scripts; update WU-radar-inc.php V1.14 to remove 'dead' WU additional maps.
  • Version 3.318 - 16-May-2020 (Base-*) update include-wxstatus.php V1.11 to restore realtime status check for Meteobridge (Oops! Sorry about that.)
  • Version 3.317 - 16-May-2020 (Base-*) update include-wxstatus.php V1.10 and wxstatus.php V1.08 to move display of script updates to after any custom checking
  • Version 3.316 - 14-May-2020 (AWN-plugin) update wxgraphsawn.php V1.02 to fix validation errata
  • Version 3.315 - 14-May-2020 (Base-*) update ajax-dashboard.php V1.30 and wxgraphs.php V1.06 to fix Notice errata with PHP7+
  • Version 3.314 - 13-May-2020 (Base-*) update ajax-dashboard.php V1.29 with corrected support for WC-forecast (WU/TWC); update wxforecast.php V1.04 page with WU/TWC forecast correction
  • Version 3.313 - 13-May-2020 (Base-*,CU-Plugin) update top.php V3.05 to fix validation when $useUTF8 invoked; wxgraphs.php V1.05to add CumulusMX graphs support (requires cumx/ library files);
    CU-Plugin: updated CU-defs.php V1.11 for CumulusMX support; added cumx/ directory with support scripts for wxgraphs.php for CumulusMX; Settings-Weather.php V1.04 for updated link to software download
  • Version 3.312 - 10-May-2020 (Base-USA) update advforecast2.php V5.14 with fix for Alert link URL for (Thanks Jasiu!)
  • Version 3.311 - 28-Apr-2020 (Base-*) update check-fetch-times.php V1.35 to restore site's timezone setting after show=versions check
  • Version 3.310 - 27-Apr-2020 (Base-*) update check-fetch-times.php V1.34 to fix 'unspecified' weather software in footer of wxstatus.php page (thanks to Jasiu!)
  • Version 3.309 - 27-Apr-2020 (Base-*) update check-fetch-times.php V1.33 to fix some invalid HTML and add reporting for deprecated scripts, include-style-switcher.php V1.20 to fix 'headers sent' warnings, wxstatus.php V1.07 to fix missing langtrans() for heading
  • Version 3.308 - 26-Apr-2020 (Base-*) update check-fetch-times.php V1.32 to redact API keys for show settings display
  • Version 3.307 - 25-Apr-2020 (Base-*) update check-fetch-times.php V1.31 to fix a PHP7.4 issue and add optional $SITE['skipMissingFileCheck'] = true; to Settings.php to suppress missing file list in wxstatus.php display

A full version history is available here.

Current Template Website Statistics

Numbers are counts of template websites by template version (V2, V3) and weather software used by the website.

Weather Software V2 V3 Total
(Regional Site) 22 6 28 --- 8 8
Cumulus --- 58 58
Meteobridge --- 19 19
Meteobridge-NANO --- 1 1
Meteohub --- 10 10
VWS --- 15 15
Weather-Display 134 338 472
WeatherCat --- 11 11
WeatherLink --- 12 12 --- 2 2
WeatherSnoop --- 1 1
WsWIN --- 1 1
sint wind pi --- 1 1
weewx --- 1 1
wview --- 5 5
Totals:  156 489 645

Note: Regional Weather Network sites do not run weather station software, but do use the V2 or V3 template set. V2 template sets were based using Weather-Display software only.

Acknowledgements and thanks!