[Imc-tech] ucimc nifty site stat graphs:

Sascha Meinrath meinrath at uiuc.edu
Wed Nov 7 01:08:57 CST 2001


i thought this might interest folks.  how hard would this be to implement?

--sascha

Message: 3
Date: Wed, 7 Nov 2001 00:45:07 +1100 (EST)
From: andy <andy at cat.org.au>
To: imc-tech at indymedia.org, webcoders at cat.org.au
cc: imc-communication at indymedia.org
Subject: [Imc-communication] graphs of publishing statistics


hello friends,

http://www.sydney.active.org.au/stats/graphs-index.html

is a page with some graphs representing 1) last months daily publishing
activity 2) last six months, 3) last two years.

currently it is setup for sydney.indymedia, active.org.au/sydney (hey i'm
from sydney) and www.indymedia.org - but it is ready to have any other
IMCs added into it ( you just need the stats.php3 script available)

In geekspeak, I just "checked in" the script - so that means its available
for everybody to use to graph their IMC's statistics.

Thanks to Kevin for his work on stats.php3.

cheers
andy


---- geek stuff below ---


---------- Forwarded message ----------
Date: 6 Nov 2001 13:28:00 -0000
From: andy at cat.org.au
Reply-To: webcoders-cvs at lists.cat.org.au
To: webcoders-cvs at cat.org.au, webcoders-cvs at indymedia.org
Subject: [Webcoders-cvs] active/webcast

Author: andy

Update of /usr/local/cvsroot/active/webcast
In directory conway.cat.org.au:/var/www/www.cat.org.au/active/sydney/webcast

Modified Files:
         stats.php3
Added Files:
         indy-graph.pl
Log Message:
stats.php3::
Added a backwards compatiability switch for postgreSQL 6.5.x - in the SQL 
statements the function date_part (text,timestamp) is used and 6.5.x needs 
CAST(fieldname) AS DATE.
change the $postgres_6_5 variable to true or fasle depending on your server.

indy-graph.pl::
makes pretty GIFs from the CSV files obtained via stats.php3.
Needs the GIFgraph module for perl5 (which in turn uses GD.pm)
Does multiple cities, in three modes each city (last month's daily use, 
last 6 months monthly use, and last 2 years monthly use). Makes a 
graphs-index.html to view all the graphs made.

  Modified Files:
         stats.php3
  Added Files:
         indy-graph.pl

===================================================================
File: indy-graph.pl     Status: Up-to-date

    Working revision:    1.1     Tue Nov  6 13:28:00 2001
    Repository revision: 
1.1     /usr/local/cvsroot/active/webcast/indy-graph.pl,v

    Existing Tags:
         No Tags Exist

===================================================================
File: stats.php3        Status: Up-to-date

    Working revision:    1.6     Tue Nov  6 07:19:14 2001
    Repository revision: 1.6     /usr/local/cvsroot/active/webcast/stats.php3,v

    Existing Tags:
         No Tags Exist

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cu.groogroo.com/mailman/archive/imc-tech/attachments/20011107/3907a12c/attachment.htm


More information about the Imc-tech mailing list