NAME

HtDig::Config - Perl extension for managing ht://Dig configuration files


SYNOPSIS

  use HtDig::Config;
  my $htdig = new HtDig::Config('/opt/www/conf/configdig_sites.pl');
  $htdig->autodetect();
  while (my ($site_name, $path) = each %{$htdig->sites()}) {
    print "Site $site_name found at $path\n";
  }
  my $site = $htdig->sites("default");
  #etc.
  #See the HtDig::Site module for information on using the Site object
  #


DESCRIPTION

HtDig::Config provides an object-oriented interface to the configuration files for ht://Dig, a popular, open-source content indexing and searching system.

ht://Dig allows you to specify a configuration file to use when beginning an indexing run or doing a search, thus allowing you to maintain multiple databases of indexed web pages. The Config object's main job is to help you keep track of all the site configuration files you have, using a sort of ``registry'' to keep track of sites you've registered with ConfigDig. The HtDig::Site object works with the Config object to help you modify and save each site's configuration settings.


METHODS


KNOWN ISSUES


AUTHOR

James Tillman <jtillman@bigfoot.com> CPAN PAUSE ID jtillman


SEE ALSO

HtDig::Site.

perl(1).