next up previous contents index
Next: 4.2.4 How deep should Up: 4.2 Invoking the parser Previous: 4.2.2 Status Information and   Contents   Index

4.2.3 Description filenames

The -H or --home-url option allows you to specify a different description file than the default one. For example, the command,

% Spider.py -H plucker:/test.html -f TestDB

tells the parser to build a database called TestDB.pdb using the description file test.html that can be found in $PLUCKERDIR (plucker: is relative to $PLUCKERDIR). You can also use an absolute path,

% Spider.py -H file:/home/pilot/.plucker/test.html -f TestDB

would produce the same result as the first example.

Instead of using a local file we can use a file at a remote location,

% Spider.py -H http://plucker.gnu-designs.com/ -f PluckerDB

and the parser would use the index page for Plucker's home page as the description file.

NOTE: The -H option needs a valid URL, so don't use,

% Spider.py -H file:test.html -f TestDB

even if you are running the spider in the same directory as the file is located in.


next up previous contents index
Next: 4.2.4 How deep should Up: 4.2 Invoking the parser Previous: 4.2.2 Status Information and   Contents   Index
The Plucker Team