Counters

WestNet has installed a copy of Steven Dick's counter program. If you would like to install a counter in your pages, this is how to do it.

This counter software is provided for WestNet customers ONLY. If you are not a WestNet user, please see the counter home page for information on publicly available counters.


Counter Documentation

This is a copy of the counter documentation modified to be specific to WestNet.

Place something like this in your page:

  <img src="/cgi-bin/counter?TAG&OPTIONS">
Where TAG is either a unique string identifying you or your page, or one of the special tags listed below. To make sure your tag doesn't confilct with another user's, you should start all of your own tags with your username.

Please keep your tags short (say, less than 20 characters) so the database doesn't grow too big too quickly. Don't use a URL for a tag--there's lots of redundant info in a URL. If this becomes a problem, I'll disable all counters using URL's for tags.

The & is not needed if you use no options.

The following are always rejected as tags:


	font=	  increment	index	index.html
	noshow	  number	value	width=
	welcome	  welcome.html
The following tags are special:
digits
returns all digits in the current font
random or rand
returns a random number
any tags starting with a digit
display tag as a number
Note that the special tag xxxx is not accepted by the C version of the counter.

The following options are always valid:

width=
specify minimum number of digits to display in the count; implies show
font=
specify what font to use (odometer, digital); implies show Currently available fonts: odometer, digital
The following options are only valid with normal tags:
number
interpret tag as a number
noinc or value
only show the value for tag, don't increment
increment
increment and show value for tag
show
at least show value for tag
noshow
increment tag only

Examples

This counter: is generated by this command:
< IMG SRC="/cgi-bin/counter?chrisdemo&width=5"> 

If you copy this command, make sure you change chrisdemo to a string starting with your username that will identify this counter for your page.

Back to Home Page Instructions