WWW visitor counter "counter.xbm"

The "counter.xbm" program is a CGI program which you can invoke from your web pages to show how many times they have been visited. For example:

This page has been accessed (unknown) times since October 16, 1995.

The HTML to do the above bit of magic is:

   <img alt="(unknown)" 
   src="http://www.rice.edu/cgi-bin/counter.xbm?http://riceinfo.rice.edu/web/counter.html">
The part before the question mark is the URL of the counter.xbm program. The part after the question mark is the URL of your page. The script can be invoked from any web page at Rice.

You can reset your counter to zero by appending an arbitrary string of characters after the URL, perhaps a date. For example:

   <img alt="(unknown)" 
   src="http://www.rice.edu/cgi-bin/counter.xbm?http://riceinfo.rice.edu/web/counter.html-1997">

Limitations:

  • Note that counter.xbm isn't foolproof. It's easy to confuse the count. For that reason, counts may be more useful as a curiosity than as a meaningful measure of WWW usage. More meaningful statistics based on the server logs are available for some Rice servers.

  • Since it is based on a bitmap, counter.xbm is not friendly to users of lynx or other non-GUI WWW browsers.

  • Like any bitmap, a counter.xbm image may be invisible against a black or white background. This depends on your browser, and there is a browser-dependent trick which you can use to get around it: place your counter bitmap in a table with a background color defined. See these black background and white background examples.

  • Please do not link to counter.xbm from non-Rice web pages! If you want to use a visitor counter from off-campus, please install your own counter software or use a public counter service (you will find lists of both in Yahoo).

If you have questions or note problems with our local installation of counter.xbm, please send e-mail to "riceinfo@rice.edu".


(Credits: The version of counter.xbm currently in use at Rice is based on odometer.c by Chris Stephens and Fred Christiansen, but incorporates features from the perl counter.xbm script by Michael Nelson. Rice modifications by Prentiss Riddle.)

 

 

Navigational Links
For assistance with IT services, e-mail problem@rice.edu.
For assistance with IT web pages, e-mail webteam@rice.edu.
This page updated 03/14/01.
© 1995-2001 Rice University
To Rice Home Page