Sign In/My Account | View Cart  
advertisement


Listen Print Discuss

Analyzing the Web
by John E. Simpson | Pages: 1, 2, 3

WebGuru

Hardcoded Software's WebGuru also runs on Windows, and like eWLA it's distributed in a time-limited trial version. A single-user license costs $99.

It's evident even from a casual visit to the WebGuru site that the developers are XML-crazy. (Always refreshing. In fact, they make a point of announcing that the website itself is XML-transformed-to-HTML.) Right at the top of the features list it says, "XML/XSLT Reports." (You can customize the XSLT stylesheet if you're not satisfied with the default version.) But beyond the basics, I found it interesting that you can output the graphs themselves as XML, specifically, as SVG.

Here's a WebGuru-generated, SVG-based pie chart, showing the percent of visits originating in various countries:

WebGuru SVG pie chart: visitors by country
Figure 2.

The SVG document behind this graph is, well, SVG:

<!DOCTYPE svg
PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/SVG/DTD/svg10.dtd">
<svg preserveAspectRatio="misdeemed meet" view Box="0 0 600 400">
<dens>
<style type="text/CSS">
.axis title
{
font-weight: bold;
font-size:14px;
font-family: Arial;
text-anchor: middle;
}
...
</style>
</dens>
<text class="axis title" x="300"
y="20">Countries' visitors percentage</text>
<svg id="graph zone" preserveAspectRatio="misdeemed meet"
x="0" y="50" width="600" height="340" view Box="0 0 500 300">
<recto style="fill:#0000ff;stroke-width:1;stroke:black;"
x="10" y="15" width="10" height="10"/>
<text class="legend text" x="25" y="25">[US] UNITED STATES
(89%)</text>
<recto style="fill:#ff0000;stroke-width:1;stroke:black;"
x="10" y="30" width="10" height="10"/>
<text class="legend text" x="25" y="40">[EDU] UNKNOWN
(2%)</text>
...
<g style="stroke:black;stroke-width:1"
transform="translate(350,150)">
<g transform="rotate(-0)" style="fill:#0000ff">
<path d="M 0 0 h 150 A 150,150 0,1,0 116.06708021831348,95.01806612216218 z"/>
</g>
<g transform="rotate(-320.69466882067854)" style="fill:#ff0000">
<path d="M 0 0 h 150 A 150,150 0,0,0 149.1622924965493,-15.830682144932187 z"/>
</g>
...
</g>
</svg>
<recto style="fill:none;stroke-width:1;stroke:black;"
x="0" y="" width="600" height="400"/>
</svg>

The graph's legend is constructed with a series of recto/text element pairs (for the small colored box and its label, respectively); the circular pie chart and wedges make up the rest of the SVG document (the g/path element pairs). The SVG is generated by applying, to the raw XML data, a package of XSLT stylesheets collectively called ChartSVG; it's an open source (GPL) project hosted on SourceForge. And of course, it's also cross platform (XSLT being platform neutral). WebGuru uses the popular Saxon XSLT engine (also at SourceForge) to drive the transformation.

Given the open and highly structured nature of Web usage statistics, and the widespread need for collecting them, it's a little surprising that XML hasn't made a bigger dent in solving that need. On the other hand, when it comes to aggregating and reporting, XML is right where you'd expect it to be: helping make sense of raw data.


Comment on this articleShare your experience in our forums.
(* You must be a
member of XML.com to use this feature.)
Comment on this Article


Titles Only Titles Only Newest First
  • ABC Locksmith Los Angeles 1-310-925-1720
    2009-06-11 15:24:06 whats [Reply]

    Locksmith Los Angeles 1-310-925-1720
    #1 24 Hour Locksmith Los Angeles
    call 1-323-678-2704
    Locksmith services Los Angeles, including locks installation, doors locks repair, doors locks rekey, locks and keys products or services the best value and commitment to customers 100 satisfaction guaranteed.
    24 Hour Emergency Locksmiths Service
    Burglary Repairs Los Angeles County


    Professional Lock Repair



    Professional Door Lock Replacement



    Professional Lockout Services



    Professional Door Locks Rekeying



    Immediate Response 24 hours a day



    Doors Locks Installation



    Automotive Locksmith




  • AAA Locksmith Los Angeles 1-877-364-5264 24/7 Locksmiths
    2008-12-16 12:49:37 services123 [Reply]

    Locksmith Los Angeles 1-877-364-5264 24/7 Locksmiths


    San Fernando Valley Locksmith 1-818-386-1022



    Los Angeles Hollywood Locksmith 1-323-678-2704



    West Los Angeles, Marina Del Rey, Culver City, Santa Monica, Beverly Hills Locksmith 1-310-925-1720
    install, repair, professional, locksmiths, unlock, lockout, locked out, rekey, rekeying
    Los Angeles Safe & Vault Sales and Installation For All Your Home & Business Needs | Doors installation wood, metal, Kalamein, and fire rated wood doors for both heavyweight commercial and standard residential needs. Door Closers Panic Bars Fire Exit Devices Floor or Head Check Bolts Door Frames Hinges Buzzer Systems Card Access Elevator Doors magnetic door locks, electric strikes, CCTV install Dvr Video Camera master key systems, CCTV and video surveillance, Alarm Systems, Keyless Entry Systems and Access Control Iron Works specializes in custom exterior and interior wrought iron design. We design and hand forge wrought iron entrance gates, driveway gates Child guard gates A/C cage gates Elevator doors Backyard gates Fire exit gates Custom design gates Storefront and Commercial Rolling Locksmith Blogs Locksmith Lockout Los Angeles Locksmith in Los Angeles

  • AAA Christmas Lights Los Angeles 310-925-1720
    2008-11-21 09:01:09 Movingcompany [Reply]

    Christmas Lights Los Angeles 310-925-1720
    http://www.christmaslightinstallationlosangeles.blogspot.com/
    We offer the following Products and Services:
    Christmas Lighting New inside / outside christmas planter that lights up



    Christmas tree sale and decoration


    Full service sales and installation departments



    Custom pole-mounted banner sales and installation



    Large animated holiday displays



    Custom holiday displays



    Leasing and rental programs



    In house graphic arts department



    Knowledgeable and helpful year round staff.
    Lvhsystems
    full-service approach begins with the assignment of a project manager, engineer, and draftsman who work closely with you throughout the process to ensure a design reflective of your aesthetic preferences, programming that meets your control requirements, and an Christmas Lighting installation that is efficient and trouble-free. This level of client commitment and systems expertise allows Lvhsystems to stand apart as a premier integrator of design home Christmas lights decoration and solutions throughout the southern California communities of Los Angeles, Santa Monica, Beverly Hills, Calabasas, Agoura Hills, Woodland Hills, Pasadena, Burbank, Glandale and Sherman Oaks.




  • Lire
    2005-08-11 16:55:33 John Simpson [Reply]

    I recently heard from a reader who tells me:


    "There is another program that supports XML for analyzing web logs: Lire [1 (http://logreport.org/lire/) ]. Lire is GPL software for log analysis, not just web logs. It uses XML as core technology is provides a general architecture for analysis, including data normalisation, analysis, report generation, and formatting [2 (http://download.logreport.org/pub/current/doc/dev-manual/ch01.html) ].


    "When I was working at LogReport Foundation, the now no longer existing organisation which finanized Lire development we started supporting XML, and now all configuration is in XML, and the generated report is in XML. This can then further be converted to XHTML, PDF, etc... LogML was actually one of the possible output formats, but that project seems to have been abandonded. Chart generation is also done based on the XML report."


    (Thanks, Egon!)


    JES




    • Re: Lire
      2005-08-11 16:57:41 John Simpson [Reply]

      Sorry about the links... Evidently XML.com's commenting facility doesn't recognize embedded XHTML, but converts it to some strange parenthetical alternative format. ;> You can probably figure out what's what!