To create a webpage with WUHU you can use the Alerts/Actions function.
Get the Examples
Download the examples from here:
Extract the contents of the zip file into the WUHU directory. By default it is C:\Program Files\WUHU.
Setup WUHU to create the csv files
Enable the Write Extended Currentdat Setting found in the WUHU Configuration.ini
On the WUHU main screen click on the Alerts/Actions button on the main screen.
On the Alerts/Actions screen enable the On Weather Update by checking the check box. Check the check box next to On Update Seconds. Adjust your On Update Seconds value to change how often WUHU will create the webpage. Keep in mind that if you are using the ftp function, you will need to allow enough time for the ftp transfers to complete. (Don’t set the value to 0)
Click on the Sound/Action button next to On Weather Update.
Under Action on Activation, click the browse button…
On the open file dialog, browse to C:\Program Files\WUHU, change the Files of type to Action files (*.txt) and select the Action.txt that you extracted from the example.zip, then click open.
Your on Action on Activation should have actionfile:“C:\Program Files\WUHU\Action.txt” in it, Click OK
Click on Save Changes to exit
Edit the Action file to tell WUHU which csv files to create and where
Edit the C:\Program File\WUHU\action.txt file so it contains one line for each webpage you want to create
template:"C:\Program Files\WUHU\csv.txt" "C:\wwwroot\data1.csv" template:"C:\Program Files\WUHU\csv.txt" "C:\wwwroot\data2.csv" template:"C:\Program Files\WUHU\csv.txt" "C:\wwwroot\data3.csv" ...
All the variables are contained in the template csv.txt example file. This file is just plain text file. You can format or order of the data values using notepad or any other editor as long as the variables start with % and end with %
A full list of variables can be found in the output of the currdat.lst
Append to a date to a file
To append to a file with each update, instead of replacing existing information, add a + character to the end of the path and filename of the output file.
template:"C:\HeavyWeather\CSVTemplate.csv" "C:\HeavyWeather\CSV%Y%U.csv+" ...