Weather Diary: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
147 bytes added ,  17:43, 17 April 2013
(New page - first draft)
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
==Where is the information stored?==
==Where is the information stored?==
See [[Log.xml]]
See [[Log.xml]]
This file can be opened as a text file, but there are database file readers that can open this sort of file and display them in a spreadsheet like format (or even convert them to formats like CSV).
This file can be opened as a text file, but there are database file readers that can open this sort of file and display them in a spreadsheet like format (or even convert them to formats like CSV).  It is possible to upload this file, or a transformed version of it, onto your webspace and write coding to display the contents.


=Snow=
=Snow=
Line 35: Line 35:


==Displaying on a customised web page==
==Displaying on a customised web page==
If you understand HTML table syntax, the [[Webtag]] ''<#snowdepth>'' can be inserted on the ''todayT.htm'' web template (see [[Customised templates]]) to display the snow depth (updating at time set in [[Cumulus.ini]] as explained above. If you understand JavaScript and HTML, you can arrange to upload a background with a scale on which the script can use ''<#snowdepth>'' to overlay the correct depth as a white blanket for example.  The script would have similarities to the current part of the script provided with Cumulus that plots rainfall as a bar chart.
If you understand HTML table syntax, the [[Webtag]] ''<#snowdepth>'' can be inserted on a ( for example the ''todayT.htm'') web template (see [[Customised templates]]) to display the snow depth (updating at time set in [[Cumulus.ini]] as explained above. If you understand JavaScript and HTML, you can arrange to upload a background with a scale on which the script can use ''<#snowdepth>'' to overlay the correct depth as a white blanket for example.  The script would have similarities to the current part of the script provided with Cumulus that plots rainfall as a bar chart.


Some sites use the ''current conditions'' feature (optional box on main screen, plus ability to create a file that is deleted on use - see Cumulus help) to display further snow information.
Some sites use the ''current conditions'' feature (optional box on main screen, plus ability to create a file that is deleted on use - see Cumulus help) to display further snow information.
5,838

edits

Navigation menu