Dayfile.txt: Difference between revisions

m
m (→‎Options for reading dayfile.txt for other uses: corrected the link for CumulusUtils)
 
===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.
*Some people take a copy of the local file*Dayfile.txt (notand onlyother the dayfilefiles!), andare useused itas locallydescribed for other purposes. Seeat the e.g. [[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 ===
5,838

edits