OK, you want usage information on some page on the site that the world gets to see. Problem: the powers that be say you can't have any affiliation with a commercial site so those free page stats counters that are hosted by some other site are no good... Well, I too ran into that and found a nice Page Stats program written by some guy named Dale McNeil and modified it for our purposes. Take a gander at this:
You are visitor number ,
since March 11th 1999.
Click here to see the Stats
Page.
Now that you know what you are gonna get, let's figure out how you can get it...
Step 1:
Choose a set of counter images from this list that
you like (note the counter name in parantheses):
- or -
Go to DigitMania
find a counter you want, email me
and I will add it to the list.
| 1 | 7 Segment Display
( 7seg )
|
| 2 | American Flag
( americanflag )
|
| 3 | aMiniature
( amini )
|
| 4 | Angel Web Graphics 2
( awg02 )
|
| 5 | Blue Blob
( blueblob )
|
| 6 | Boffo
( boffo )
|
| 7 | Marsil
( marsil )
|
| 8 | Medium Blue
( mblue )
|
| 9 | Medium Green
( mgreen )
|
| 10 | Netscape Default
( netscap )
|
| 11 | Orange Background
( orangeback )
|
| 12 | Simple Gold
( simplegold )
|
Step 2:
Choose a name to track your page with.
Typically this is the name of the .html file so that if your page name
is instructions.html the name you would choose is "instructions".
However, if the name you would like conflicts with any in the list below (in green)
choose another one or you will be sharing stats with someone else.
| reseq | problem | clone | donotuse | physmap |
| image | imagene | psf | newtest | tissue |
Step 3:
Login to BBRP and execute this command at the prompt:
/d1/www/bbrp/bin/pagestats command=init filename=(The name you chose for your page)
eg
/d1/www/bbrp/bin/pagestats command=init filename=instructions
If you cant logon to BBRP email me and I will do it for you.
Step 4:
Insert HTML like this into your page:
<img src="http://greengenes.llnl.gov/bbrp/bin/pagestats?command=display&digit=0&filename=(your
page name here)&number=(your counter name here)">
eg
<img
src="http://greengenes.llnl.gov/bbrp/bin/pagestats?command=count&digit=5&filename=instructions&number=marsil">
<img
src="http://greengenes.llnl.gov/bbrp/bin/pagestats?command=display&digit=4&filename=instructions&number=marsil">
<img
src="http://greengenes.llnl.gov/bbrp/bin/pagestats?command=display&digit=3&filename=instructions&number=marsil">
<img
src="http://greengenes.llnl.gov/bbrp/bin/pagestats?command=display&digit=2&filename=instructions&number=marsil">
<img
src="http://greengenes.llnl.gov/bbrp/bin/pagestats?command=display&digit=1&filename=instructions&number=marsil">
<img
src="http://greengenes.llnl.gov/bbrp/bin/pagestats?command=display&digit=0&filename=instructions&number=marsil">
Notice that the first line (digit=5) has command=count and the rest have command=display... that line increments the counter and the rest only display it.
Step 5:
Check your Page Stats at
http://greengenes.llnl.gov/bbrp/counter/(your page
name).html
eg
http://greengenes.llnl.gov/bbrp/counter/instructions_stats.html
Thanks and praise can be sent to Tim Harsch... please send all complaints to /dev/null :-)