Dayfile.txt: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
260 bytes added ,  00:01, 3 November 2018
m
changed sandaysoft.com references
m (→‎Viewing or Editing the daily summary log within Cumulus: Moved section re manipulating outside Cumulus before section re editing in Cumulus 1)
m (changed sandaysoft.com references)
(3 intermediate revisions by one other user not shown)
Line 29: Line 29:
'''Tip''':  Take a copy of the file before you work on it outside Cumulus, so you can revert to old file.
'''Tip''':  Take a copy of the file before you work on it outside Cumulus, so you can revert to old file.


'''Note''': Since new versions/builds can add to number of fields, Cumulus will accept lines of 15 fields or more (including without the more recent fields at the end).  (Additions by versions are indicated below, you can explore details of earlier versions via the official [http://sandaysoft.com/products/cumulus product] page).
'''Note''': Since new versions/builds can add to number of fields, Cumulus will accept lines of 15 fields or more (including without the more recent fields at the end).  (Additions by versions are indicated below, you can explore details of earlier versions via the official [Software software/download] page).


'''Important Rules''':  
'''Important Rules''':  
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 [[Daily_Summary]] 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==

Navigation menu