5,838
edits
mNo edit summary |
mNo edit summary |
||
File holding entries created in [[Weather_Diary|'Weather Diary']] assessed from Cumulus 1 View menu.
== Editing this log ===
The file can be edited within Cumulus 1 (Weather Diary on Edit menu), and can be viewed (but not edited) using a XML viewer.
== Using in your own scripts ==
This is a piece of PHP code that can read this file and put what it reads (for a particular day) into PHP variables. Since this diary can hold several entries for the same day, a decision has to be made as to which to report. For snow falling, lying, and depth, this code saves the "worst case" of all the entries for that day. For the "entry" field, the one with latest time is retained.▼
There is a web page using this code written by Czech author Miloš Jirík (https://pocasi.ok5aw.cz) available on the support forum at https://cumulus.hosiene.co.uk/viewtopic.php?p=83888#p83888 and that will display all the snow records on a web page.
▲
<pre>
|
edits