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 Monday, 26-Feb-2018 12:04 PM

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
  • 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


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

Version history (latest 20 updates)

  • Version 3.272 - 08-Dec-2018 (Base-World) updated DS-forecast.php V1.05, DS-forecast-lang.php V1.04 for optional current conditions display box, cloud-cover now used for better icon choices
  • Version 3.271 - 04-Dec-2018 (Base-World) updated DS-forecast.php V1.04, DS-forecast-lang.php V1.03 for lang=sr (Serbian) language translations.
  • Version 3.270 - 02-Dec-2018 (Base-World) Added DS-forecast.php, DS-forecast-lang.php to replace WU-forecast.php (since WU is no longer issuing API keys).
    (Base-*) Updated check-fetch-times.php V1.24, ajax-dashboard.php V1.27 and wxforecast.php for DS-forecast support,
  • Version 3.269 - 30-Nov-2018 (Base-*) update get-metar-conditions-inc.php V1.17 for https to + fixing several Notice errata; update plaintext-parser.php V1.31 to avoid $Conditions collision with get-metar-conditions-inc.php
  • Version 3.268 - 23-Nov-2018 (Base-*) update get-USNO-sunmoon.php V3.02 for https access to USNO
  • Version 3.267 - 06-Aug-2018 (AWN-plugin) update AWNtags.php V1.05 for non-Davis weather station rain/wind reporting
  • Version 3.266 - 28-Jul-2018 (Base-Canada) update ec-radar.php V2.03 for EC website change (fix get latest image issue)
  • Version 3.265 - 22-Jul-2018 (Base-World) updated get-meteoalarm-warning-inc.php V2.10 for cURL and https access to site
  • Version 3.264 - 13-Jun-2018 (Base-World) updated WU-forecast.php V3.05 to avoid saving partial (no forecast) JSON in the cache and reusing the cache instead
  • Version 3.263 - 27-May-2018 (Base-*) updated quake-json.css V2.01 to adjust z-index values in CSS to better work with Saratoga template flyout-menu set
  • Version 3.262 - 26-May-2018 (Base-USA) updated advforecast2.php V5.09 (JSON) and DualImage.php V1.02 for new NWS tropical_storm and hurricane icon usage via
  • Version 3.261 - 25-May-2018 (Base-USA) updated advforecast2.php V5.08 (JSON) with fixes for point/zone JSON changes from
  • Version 3.260 - 10-May-2018 (Base-*) updated quake-json/wxquake package to V2.00 to use Leaflet/OpenStreetMaps instead of Google Map for display without requiring an API key.
  • Version 3.259 - 14-Apr-2018 (Base-USA) updated advforecast2.php V5.07 (JSON) to add caching for point->gridpoint forecast URLs + WFO info on Zone forecast
  • Version 3.258 - 12-Apr-2018 (Base-USA) updated advforecast2.php V5.06 (JSON) for PHP warning error when no alerts are available
  • Version 3.257 - 01-Apr-2018 (AWN-plugin) updated AWNtags.php V1.04 to correct issue with Last-Modified header for SSG/realtime outputs
  • Version 3.256 - 26-Mar-2018 (AWN-plugin) updated AWNlast24.php V1.02 to fix wind gust rose where windgustdir JSON is absent
    (Base-*) updated check-fetch-times.php V1.23 to check for AWNlast24.php version
  • Version 3.255 - 13-Mar-2018 (Base-USA) removed wxnoaaiod.php/get-nnvl-iod.php from distribution as the NNVL has stopped publishing "Image of the Day" in March, 2018.
    (Base-*) updated check-fetch-times.php V1.22 to remove NOAA IOD checking for versions.
  • Version 3.254 - 11-Mar-2018 (AWN-plugin) added full multilanguage support, new Wind Gust Rose display, wind rose(s) now display in site units (not just mph)
  • Version 3.253 - 07-Mar-2018 (AWN-plugin) added trends and Highcharts graphs capability

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 --- 16 16
Meteobridge-NANO --- 1 1
Meteohub --- 10 10
VWS --- 14 14
Weather-Display 134 339 473
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 486 642

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!