How The Heck Do I Install A Hit Counter?
We make a subset of George
Burgyan's HTML access counter available. This counter is a text based
counter that has the ability to count any page that you may have. It also
make allowances for non-displayed counts and straight counts (123) or
ordinal counts (123rd).
Usage
Use of the counter can be as simple as adding the following line to your
HTML page at the point where you would like the count to appear.
<!--#exec cmd="perl /webhome/server/cgi-bin/counter" -->
You can also add the options listed in the following table. For example if
you would like a count that is listed in ordinal fasion add the line
<!--#exec cmd="perl /webhome/server/cgi-bin/counter-ord" -->
to your HTML page. If you would like an ordinal count that does not link
back to this instruction page add the following line to your HTML page:
<!--#exec cmd="perl /webhome/server/cgi-bin/counter-ord-nl" -->
Example:
You are the
4121st
person to read this instruction page.
Please note: Your filename MUST end
with .html (not .htm) for the counter to work correctly.
There are more
examples available.
Options
- ord
-
Ordinalize the count.
- Example
1st
2nd
3rd
4th
5th
|
- nc
-
No count. This option is useful if you want to include the counter in
several
places in one page. Just set all but the last counter to not count, and
everything will work fine.
|
- nl
-
No link. Use this if you really don't want a link back to the counter
instruction page. Use this with care because it really cuts down on one of
the most
freqently asked questions on the
comp.infosystems.www.* newsgroups; "How do I add a counter to my page."
|
- nd
-
No display. Added by popular request. This makes the counter count but
not display it's results. At this point you will have to modify your page
to remove the -nd option when you wish to see the current access count.
|