U-M ITS Web Hosting

mod_ometer

home / software / mod_ometer

mod_ometer: what in the wide world of sports is it??

mod_ometer is a web counter implemented as an apache C module. It uses gd 2.0.28 or later to generate its images. Gd has some built-in fonts, but for real excitement you can use any TrueType font you want for the counter.

In addition to allowing font choice, mod_ometer has all sorts of options for customizing size, width and color of your counter as well as the ability to output the counter as jpeg, png, or gif.

Features

  • ignore: ip address or domain name is forbidden to increment the counter.
  • font: use a truetype font instead of the counter's default.
  • width: how many digits are displayed, maximum of 10.
  • rand: display a different random number everytime.
  • reset: reset the counter to a specific value.
  • text: set font color using the "web color" scheme.
  • bgcolor: set background color using the "web color" scheme.
  • point: set point size of the counter font.
  • image: choose jpeg, png or gif.

Fonts

Fonts we use at Umich

transit

stylus

steamer

simpson

adlibn

signboard

arial

comic

lumos

impact

trebuchet

verdana

places to get fonts

want to add a font? contact us.

modometer@umich.edu

Download and Install

Your very *own* counter!

things it requires

how to build it

  • It uses autoconf. Cool, eh?

list of directives

  • OdometerDB /var/odometer/odometer.db
    full path to counter database
  • OdometerFontDir /var/odometer/font
    directory where counter's fonts are stored

Other Documentation

Counter Documentation: explains how to add a counter to your umich.edu hosted web site.

Contact Us

Looking to submit a bug report, ask a question, or join the mod_ometer fan club? send e-mail:

modometer@umich.edu