Welcome to Vestris Inc.
Internet Interactive Solutions Company



Software Documentation

UrlListFile

Name

UrlListFile — add a list of urls from a file to UrlList

Synopsis

UrlListFile = file1 [,file2 ] [,file3 ... ]

Description

Whenever you are indexing a large set of individual urls or have more than a few items to add to the UrlList directive, it is more convenient to use UrlListFile rather than UrlList . The argument must be a list of files with absolute paths or relative to the directory that Alkaline is run from. Each file contains a list of urls, each url must be on a single line.

Alkaline will reload the lists of urls at each full indexing roundtrip. You can create your own tools that populate a file pointed by this directive while Alkaline is indexing; which is simpler than writing a full asearch.cnf file. Each url is treated as if it was written part of the list defined by the UrlList directive.

To index a large set of individual urls, you can use the UrlListFile directive along with a Depth setting of 0. Thus, you can create a small tool that allows users to add their sites to the Alkaline index from a web page - it will simply append the requested url to a file pointed by UrlListFile.

Example

UrlListFile=/usr/local/alkaline/urls.list

Where the urls.list file contains:
http://www.foo.com/
http://foo.bar.com/stats/