Next: , Previous: Installation, Up: Top



4 Configuration

There are some variables that controls the checkurls behavior, so you have to change these variables to change the way it works.

Changing these variables is not necessary however, the necessary thing is to edit the URLs file, that by default is $HOME/.checkurls_conf.txt.

In this file you may write the URLs to check, separated by a newline, without comments or blank lines.

The variables that you can define are:

You can define these as environment variables, or in your configuration file (that is a shell script, $HOME/.checkurls_conf.sh by default) or using some command line options See Invoking.

Command line options overwrites the configuration file settings and the environment settings.

Configuration file settings overwrites the environment settings.

From version 0.4.0 URL specific options support was added.

This can be useful to remove the noise of counters (setting to an appropriate value the --min-lines (-m) option) and to view the various pages as you want (for example you may want to set the --additions (-a) options for news sites, but not for other sites).

To add some options specific to an URL, you have to set the variable regarding the URL. You can do this in the $CUS_URL_SPEC_OPTS file, that is $HOME/.checkurls_url_spec_opts.sh by default.

What is the variable regarding the URL? That's the variable with the name equal to the URL, but with some underscores (“_”) in place of the following characters: “:”, “.”, “/”, “?”, “=”, “~”, “-”, “&”.

For example, to set the -m 12 option for http://www.tmcrew.org, you can append to the $CUS_URL_SPEC_OPTS file (that is $HOME/.checkurls_url_spec_opts.sh by default) the following line.

     http___www_tmcrew_org='-m 12'