Welcome to Squishdot Squishdot How-To Newbies Websites
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


Statistics on comments and articles
Squishdot Posted by Peter Bengtsson on Tuesday March 27, 04:46PM, 2001
from the love-stats dept.
Can you give me some hints on how to create statistics on the articles and the comments.

I basically want to list "Who's posted the most articles" or "Who posted that most comments" on our intranet Squishdot site.

In the end I want an order barchart of this statistics so that we can celebrate the most active poster.

<  |  >

 

Related Links
  • Articles on Squishdot
  • Also by Peter Bengtsson
  • Contact author
  • File Attachment
  • Click to download attachment
    0KB (0 bytes)

  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Re: Statistics on comments and articles
    by Chris Withers on Wednesday March 28, 10:24PM, 2001
    I tend to use webstats packages to do this ;-)

    Andy McKay at ZopeZen.org has other ideas...

    cheers,

    Chris
    [ Reply to this ]
    Simple but working solution
    by Peter Bengtsson on Friday April 06, 10:13AM, 2001

    I reply to myself.

    I wrote a little python script that gets the numbers into a csv file. It isn't specific to my environment, so anybody can use it, but I wrote it very quickly so it isn't very generic.

    I have a Xron job that triggers an External Method that creates the CSV* file.

    comma delimited file

    Click to download attachment sqdots.py
    3KB (3379 bytes)

    [ Reply to this ]
    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.