File: default.tpl

package info (click to toggle)
turqstat 3.0-2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 2,112 kB
  • ctags: 1,328
  • sloc: cpp: 17,929; perl: 252; makefile: 223; ansic: 75; sh: 16
file content (157 lines) | stat: -rw-r--r-- 5,179 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
; Default template file for Turquoise SuperStat reports
;  2002-2007 Peter Karlsson
;
; Any line starting with a semi-colon (like this one) will be ignored. To
; output a line with an initial semi-colon in the final report, start the
; line with two semi-colons (;;). Empty lines in the template will create
; empty lines in the output.
;
; A trailing backslash (\) means that the line will not be terminated with
; a line break. To include a trailing backslash, terminate line with two
; backslashes (\\).
;
; Variables are inserted using @keyword@. To insert a literal @, write two
; at signs (@@).
;
; The file is read sequentially.
;
; Any line starting with a @place@ variable will create a top-list, repeating
; the pattern of that line. The variables that are dependent on the position
; in the top-list are initialized by the @place@ variable.
;
; First some localization support. This section is not replicated in the output,
; rather its contents is used to configure the output engine.
[Localization]
; Weekday names
Mon=Monday
Tue=Tuesday
Wed=Wednesday
Thu=Thursday
Fri=Friday
Sat=Saturday
Sun=Sunday
; Then comes the header.
[Common]
Turquoise SuperStat @version@ * Message area statistics
=================================================

@copyright@

;
; What to do if the message area is empty. The report engine will exit after
; the [IfEmpty] section or the first non-[Common] section.
[IfEmpty]
Message area is empty.
;
; If it is not empty, we continue.
; @ifareas@ will cause the line to be included only if more than one message
; area or newsgroup was scanned.
[IfNews]
This report covers @written@ messages \
@ifareas@in @totalareas@ groups, \
[IfNotNews]
This report covers @written@ messages \
@ifareas@in @totalareas@ areas, \
; @ifreceived@ will cause the line to be included only if information about
; reception dates are available.
[Common]
that were \
@ifreceived@received at this system between @earliestreceived@ and @lastreceived@ and \
written between @earliestwritten@ and @lastwritten@.

[Quoters]
-----------------------------------------------------------------------------
Blacklist of quoters (of people who have written at least three messages)

Place Name                                                       Msgs   Ratio
; Numbers in brackets denote field width.
@place[5]@ @name[58]@@written[5]@ @ratio[7]@

A total of @bytestotal@ bytes were written (message bodies only), of which \
@bytesquoted@, or @ratio@, were quotes.

[Writers]
-----------------------------------------------------------------------------
Toplist of writers

Place Name                                               Msgs    Bytes Quoted
@place[5]@ @name[50]@@written[5]@ @byteswritten[8]@ @ratio[7]@

[IfNotNews]
A total of @totalpeople@ people were identified (senders and recipients).

[IfNews]
A total of @totalpeople@ people were identified.

[Original]
-----------------------------------------------------------------------------
Toplist of original content per message (of people who have written at \
least three messages)

Place Name                                        Orig. / Msgs = PrMsg Quoted
@place[5]@ @name[43]@@bytesoriginal[6]@ /@written[5]@ = @permessage[5]@ @ratio[7]@

[TopNets]
-----------------------------------------------------------------------------
Toplist of nets

Place  Zone:Net   Messages    Bytes
; The @fidonet@ token is special. The width specifies the width of both the
; zone and net fields, so the total width of @fidonet[5]@ will be 11.
@place[5]@ @fidonet[5]@ @written[8]@ @byteswritten[8]@

Messages from @totalnets@ different nets were found.

[TopDomains]
-----------------------------------------------------------------------------
Toplist of topdomains

Place Domain Messages    Bytes
@place[5]@ @topdomain[7]@@written[8]@ @byteswritten[8]@

Messages from @totaldomains@ different top domains were found.

[Received]
-----------------------------------------------------------------------------
Toplist of receivers

Place Name                                Rcvd  Sent  Ratio
@place[5]@ @name[35]@@received[5]@ @written[5]@ @receiveratio[6]@

[Subjects]
-----------------------------------------------------------------------------
Toplist of subjects

Place Subject                                                    Msgs   Bytes
@place[5]@ @subject[57]@@written[6]@ @byteswritten[7]@

A total of @totalsubjects@ subjects were identified.

[Programs]
-----------------------------------------------------------------------------
Toplist of programs

Place Program                              Msgs
@place[5]@ @program[35]@@written[6]@

A total of @totalprograms@ different programs (not counting different \
versions) were identified.

[Week]
; @place@ contains the day token.
-----------------------------------------------------------------------------
Postings per weekday

Day        Msgs
@place[9]@@written[6]@ @bar[60]@

[Day]
; @place@ contains the hour token.
-----------------------------------------------------------------------------
Postings per hour

Hour       Msgs
@place[9]@@written[6]@ @bar[60]@

[Common]
-----------------------------------------------------------------------------