I don't know if it is right, but here's what I did:
I downloaded the SSG folder
Renamed it: steel (I have mine set as a separate folder within my root folder)
Opened the gauges.js (in the scripts folder) file in Text Wrangler
- Changed line 18 to 3 for WeatherCat
- Changed line 19 to '/'
- Changed line 21 to 10
- Changed line 43 to '/realtimegaugesWC.txt'
- Saved gauges.js
Uploaded entire "steel" folder to the root of my weather directory on my FTP site (for me that results in avon-weather.com/steel)
Locally, I copied realtimegaugesWC.txt to my WeatherCat Custom Web Folder.
Now normally, it would only get processed every five minutes, or whatever you have your site set to upload. So I needed to add an additional file to be processed.
Open WeatherCat Preferences --> Online --> Custom Web --> Additional Files
Click Add
- Click Set Path
- Find your WeatherCat Custom Web Templates folder, and point to realtimegaugesWC.txt
- Leave Enable checked, and uncheck FTP, set time for .10 minute (every six seconds)
- Click OK
This sets the template to be processed every six seconds and moved to the upload file. Now you have to upload it.
Click Add again
- Click Set Path
- Find your WeatherCat Custom Web folder, and point to realtimegaugesWC.txt
- Leave Enabled Checked, and leave FTP checked, set time for .17 minutes (every ten seconds)*
- Click OK
*I set mine to every 10 seconds, because I get errors from my provided if I upload more than ten times a minute
Now, you should have data flowing by going to
www.yourpage.com/steel/gauges-ss-basic.html If not, we'll figure out the next step.
Steve