~ubuntu-branches/ubuntu/maverick/lire/maverick

« back to all changes in this revision

Viewing changes to www/reports/requests-by-os.xml

  • Committer: Bazaar Package Importer
  • Author(s): Joost van Baal
  • Date: 2002-04-11 23:36:21 UTC
  • Revision ID: james.westby@ubuntu.com-20020411233621-rj3dbr7z5wulfd7z
Tags: upstream-20020214
ImportĀ upstreamĀ versionĀ 20020214

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1"?>
 
2
<!DOCTYPE lire:report-spec PUBLIC
 
3
  "-//LogReport.ORG//DTD Lire Report Specification Markup Language V1.0//EN"
 
4
  "http://www.logreport.org/LRSML/1.0/lrsml.dtd">
 
5
<lire:report-spec xmlns:lire="http://www.logreport.org/LRSML/"
 
6
 superservice="www" schema="www-user_agent" 
 
7
 id="requests-by-os" charttype="bars">
 
8
 
 
9
 <lire:title>Requests By OS WWW Report</lire:title>
 
10
 <lire:description>
 
11
  <para>This report shows the number of requests for each browser OS.</para>
 
12
 </lire:description>
 
13
 
 
14
 <lire:param-spec>
 
15
  <lire:param name="os_to_show" type="int" default="10">
 
16
   <lire:description>
 
17
    <para>This parameter controls the number of OS to display in the report.
 
18
    </para>
 
19
   </lire:description>
 
20
  </lire:param>
 
21
 </lire:param-spec>
 
22
 
 
23
 <lire:display-spec>
 
24
  <lire:title>Top $os_to_show Requests By Operating System</lire:title>
 
25
 
 
26
  <lire:description>
 
27
   <para>The <quote>operating system</quote> is determined from the
 
28
    <parameter>User-Agent</parameter> header. It is possible for a
 
29
    user to change that string. This means that the value
 
30
    <productname>Mac PowerPC</productname> could be attributed to a
 
31
    user who is really running a customized version of
 
32
    <productname>Mozilla</productname> under
 
33
    <productname>GNU/Linux</productname>.
 
34
   </para>
 
35
  </lire:description>
 
36
 </lire:display-spec>
 
37
 
 
38
 <lire:report-calc-spec>
 
39
  <lire:group sort="-request_total" limit="$os_to_show">
 
40
   <lire:field name="os"/>
 
41
   <lire:count name="request_total"/>
 
42
  </lire:group>
 
43
 </lire:report-calc-spec>
 
44
 
 
45
</lire:report-spec>
 
46
 
 
47
<!-- 
 
48
Keep this comment at the end of the file
 
49
Local variables:
 
50
mode: xml
 
51
-->