Dayfile.txt: Difference between revisions
From Cumulus Wiki
Jump to navigationJump to search
m (→Options for reading dayfile.txt for other uses: corrected the link for CumulusUtils) |
|||
Line 51: | Line 51: | ||
===Options for reading dayfile.txt for other uses=== | ===Options for reading dayfile.txt for other uses=== | ||
* Some people use [[Upload_Dayfile|the method described here]] or [[Toolbox|Cumulus Toolbox]] to get a copy of the local file to use on their web server. (If your web server is local, you can simply copy the file to that server, once a day). | |||
See [[Daily Summary]] page for a full discussion. | |||
*Some people take a copy of the local dayfile.txt, and use it locally for other purposes. | |||
*A number of third-party routines that make use of this file (and in some cases, others) are listed at [[:Category:WebTools]]. | |||
** Some people use [[Upload_Dayfile|the method described here]] or [[Toolbox|Cumulus Toolbox]] to get a copy of the local file to use on their web server. (If your web server is local, you can simply copy the file to that server, once a day). | |||
** Search in the Cumulus support forum for examples of third-part JavaScript projects that read the web copy, for example to insert data for one year ago, or to enable extremes for each day in a week to be included in a web page. | ** Search in the Cumulus support forum for examples of third-part JavaScript projects that read the web copy, for example to insert data for one year ago, or to enable extremes for each day in a week to be included in a web page. | ||
* | **Dayfile.txt (and other files!) are used as described at the [[CumulusUtils]] link. | ||
*Other people load the contents of their dayfile.txt into a database table, allowing SQL enquiries to efficiently display, or summarise, the contents of the file. | |||
**Cumulus MX provides optional functionality to create a database table, and to automatically insert a new row each time a new line is added to the local log file. | |||
=== Populating a database table === | === Populating a database table === |