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.
A RSS Feed is available to help keep you informed on updates to the scripts.
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
WXForum.net and
Weather-Watch forums
and saratogaWXPHP Twitter account as they become available.
This page was updated
Saturday, 24-Mar-2012 5:43 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:
- Cumulus
- Meteohub
- Virtual Weather Station
- Weather-Display
WeatherCat (Version V0.95, Build 152 or later) (Successor product to Lightsoft Weather Center (LWC))
- WeatherLink
- WeatherSnoop (Version 2.1.1 or later)
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 languages included:
English
(but may add language plugins)
|
Canada languages included:
English, Français,
|
World languages included:
English, Afrikaans, български език, 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.92 - 04-May-2012 - (Base-*) update get-metar-conditions-inc.php V1.12 with fix for METAR variable wind+gust parsing like VRB02G03KT
- Version 3.91 - 28-Apr-2012 - (MH-plugin) fixed yesterdayrain in MH-defs.php V1.06
- Version 3.90 - 31-Mar-2012 - (MH-plugin,WL-plugin) added local rain override for METAR conditions icon/text based on rain-rate
- Version 3.89 - 31-Mar-2012 - (Base-*) update wxuvforecast.php V1.01 for get-UV-forecast-inc.php V1.07 day-of-week display
- Version 3.88 - 30-Mar-2012 - (Base-*) update get-UV-forecast-inc.php V1.07 to support date formatting via $SITE['dateOnlyFormat']
- Version 3.87 - 25-Mar-2012 - (WCT-plugin) update WCT-defs.php to use current conditions text/icon from $WX['CC'] if no METAR is specified
- Version 3.86 - 24-Mar-2012 - (Base-*,WCT-plugin) support added for WeatherCat software
- Version 3.85 - 24-Mar-2012 - (CU-plugin) CU-defs.php V1.07; (VWS-plugin) VWS-defs.php V1.03; added local rain override for METAR conditions icon/text based on rain-rate (and time-of-last-bucket tip if available)
- Version 3.84 - 06-Mar-2012 - (Base-Canada) update quake-Canada.php V1.08 for EC website changes
- Version 3.83 - 18-Feb-2012 - (MH-plugin) update MH-defs.php V1.04 to fix baro for sea-level display, rain in trends page thanks to John at http://rainer.me.uk/weather/ , MH-trends-inc.php V1.07 for Notice: errata and one short PHP tag;
(WD-plugin) update WD-trends-inc.php to replace Baro High with Baro Low display (more useful)
- Version 3.82 - 16-Feb-2012 - (Base-World) update WU-forecast.php V1.29 for WU website changes in temperature display
- Version 3.81 - 03-Feb-2012 - (Base-World) update WU-forecast.php V1.28 for diagnostics if WU website block
- Version 3.80 - 31-Jan-2012 - (Base-USA) update get-nnvl-iod.php V1.10 for NNVL website changes
- Version 3.79 - 22-Jan-2012 - (Base-*) updates for dd.mm.yy format dates (ajax-dashboard, ajax-gizmo, include-wxstatus, wxastronomy, ajaxCUwx.js); wxindex fixed to load dashboard from $SITE['ajaxDashboard'] Settings-weather.php;
(CU-plugin) updated tags for Cumulus 1.9.2b1028
- Version 3.78 - 14-Jan-2012 - (Base-*) updates for WeatherSnoop support: ajax-dashboard V1.24, include-wxstatus V1.02, thermometer V1.09, ajaxWSNwx.js V3.05, check-fetch-times V1.04 w/improved diagnostics;
(WSN-plugin) initial release;
- Version 3.77 - 31-Dec-2011 - (Base-World) update WU-forecast.php V1.27 to remove extra 'Weather Forecast ' from $WUforecastcity display
- Version 3.76 - 27-Dec-2011 - (Base-*) update WXSIM plaintext-parser.php V1.28 for Hebrew support and renamed internal functions to prevent collision with WXSIM 3-in-1 scripts; (Base-World) updated language-he.txt and plaintext-parser-lang-he.txt for Hebrew support.
- Version 3.75 - 13-Dec-2011 - (Base-*) update ajax-gizmo.php V1.12 to fix time display for WeatherLink; update ajaxWDwx.js V2.24 to add useinHg var to force inHg barometer display for English or Metric units
- Version 3.74 - 09-Dec-2011 - (VWS-plugin) update VWS-defs.php V1.02 for international date format for $mrecordgustday in dashboard
- Version 3.73 - 03-Dec-2011 - (Base-*) update get-USNO-sunmoon.php V1.02 to fix moonset date if following day;
(WL-Plugin, VWS-Plugin, CU-Plugin) update include-NOAA-reports.php V2.03 to fix WL auto file copy and RTL language display
(VWS-Plugin) update VWS-defs.php V1.01 fix days since last rain for dd/mm/yyyy date format
(Base-World) update language-he.txt Hebrew translation file V1.01
(MH-Plugin) MH-defs.php V1.03 removed days since last rain logic - Meteohub doesn't have a variable to allow computation of that data afterall
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) |
29 |
1 |
30 |
| Cumulus |
--- |
32 |
32 |
| Meteohub |
--- |
15 |
15 |
| VWS |
--- |
15 |
15 |
| Weather-Display |
339 |
190 |
529 |
| WeatherCat |
--- |
1 |
1 |
| WeatherLink |
--- |
8 |
8 |
| WeatherSnoop |
--- |
2 |
2 |
| WsWIN |
--- |
1 |
1 |
| Totals: |
368 |
265 |
633 |
Note: Regional Weather Network sites do not run weather station software, but do use the V2 template set.
V2 template sets were based using Weather-Display software only.
Acknowledgements and thanks!