Projet:Impression/Statistiques imprimeur

This page describes how the printer should display his statistics. Goal is to get statistics analysed by a common machine-readable engine.

The XML file should be accessible to anyone month by month with the input: http://www.printer.ext/stats?year=2009&month=02

One "printersales" tag can contain several "order", one "order" can contain several "print".

Due to the high diversity of characters used on Wikipedia, UTF-8 format is mandatory.

Example modifier

<?xml version="1.0" encoding="UTF-8"?>
<printersales printer="WikiPosters">
  <order>
    <print>
      <origin>fr.wikipedia.org</origin>        <!-- will change when available on other projects -->
      <name>Solar sys.jpg</name>
      <format>36x52</format>
      <printsupport>paper220g</printsupport>   <!-- type to be defined by printer -->
      <quantity>2</quantity>
      <unitamount currency="euro">2.00</unitamount>           <!-- HT unit amount -->
    </print>
    <postcode>1926</postcode>
    <country>Switzerland</country>
    <date>20090223</date>
    <totalwithouttax currency="euro">15.00</totalwithouttax>  <!-- HT amount -->
    <totalwithtax currency="euro">15.00</totalwithtax>        <!-- TTC amount -->
    <shippingamount currency="euro">3.00</shippingtaxamount>  <!-- HT shipping amount -->
    <donation currency="euro" recipient="Wikimédia France">1.50</donation>
    <orderid>12345</orderid>    <!-- specific reference of the printer-->
  </order>
</printersales>