Dayfile.txt: Difference between revisions

278 bytes added ,  21:07, 18 May 2018
m
→‎Using the daily summary log on your web-site: added mention of Cumulus MX loading database table
m (→‎Viewing or Editing the daily summary log within Cumulus: Moved section re manipulating outside Cumulus before section re editing in Cumulus 1)
m (→‎Using the daily summary log on your web-site: added mention of Cumulus MX loading database table)
Line 103: Line 103:
== Using the daily summary log on your web-site ==
== Using the daily summary log on your web-site ==


If you upload the file to your web site, then see [[AnnualDataSummary]] for information about one of the ways to show values from this file. Search the Cumulus support forum to see ways that others extract information from dayfile.txt to display on their web page a set of fields similar to those shown for 'Yesterday' web page for other dates in the past. Other people use dayfile.txt for [[ImportCumulusFile|updating databases]] stored on their web sites so that SQL can be used to display all sorts of statistics, again postings on the forum discuss this.
If you upload the log file to your web site then (with the help of JavaScript) you can read the log file to obtain information to show on a web page.  I once had a web page that showed a today.htm like table for the last 7 days by combining reading Cumulus web tags with reading from the log file. Search the Cumulus support forum to see (for example) howt others extract information from dayfile.txt to display on their web page a set of fields similar to those shown for 'Yesterday.htm' web page for other dates in the past, such as one year ago.  
 
If you use a script to read what is in the  daily summary log file into a database table, or use the functionality in Cumulus MX to upload automatically to a database table, then see [[DataSummary]] article for information about ALL of the ways to show values from this database table.


==Viewing summary figures for a month or period==
==Viewing summary figures for a month or period==
5,838

edits