1,126
edits
Line 153: | Line 153: | ||
== Weather Display Users == | == Weather Display Users == | ||
These files will work with WD if you switch the variable g_weatherProgram at the top of gauges.js to | These files will work with WD if you switch the variable g_weatherProgram at the top of gauges.js to have a value of 1. This will make the script use the WD customclientraw.txt file rather than the Cumulus realtimegauges.txt file. A template for this file suitable for processing by WD is provided in the zip file - customclientrawlocal.txt | ||
The provided HTML files gauges-ssT.htm etc, are designed to be 'processed' by Cumulus before uploading | The provided HTML files gauges-ssT.htm etc, are designed to be 'processed' by Cumulus before uploading to the web site and renaming as gauges-ss.htm This processing replaces all the tags like <#location> with general information about your station (the station name) in this case. | ||
To use the templates with WD you will have to manually edit the HTML file, and replace each of these tags | To use the templates with WD you will have to manually edit the HTML file, and replace each of these tags with information appropriate to you. I suggest you then save the file as gauges-ss.htm | ||
You will also want to replace the Menu bar at the bottom of the HTML page which is specific to the Cumulus | You will also want to replace the Menu bar at the bottom of the HTML page which is specific to the Cumulus sample web pages. | ||
=== customclientrawlocal.txt === | === customclientrawlocal.txt === | ||
The value for Humidex is set to Celcius by default. You may want to change this | The value for Humidex is set to Celcius by default. You may want to change this tag from %humidexcelsius% to %humidexfaren% if you use Fahrenheit as your temperature scale. (there is no WD tag to report the value in your default scale). This and the forecast tag (see above) are the only things you should have to edit in the ccr file. | ||
= Release History = | = Release History = |