According to Geraldine McCullagh:
> We have a history package here which was developed using HTML, so when 
> installed it has the look and feel of being on the web, although the user 
> is not.  The package comprises a core essay (one file) with links to many 
> other resources (many files in sub-directories).  Can I use htdig to 
> perform searches across the many files which make up a package like this?

In htdig 3.1.5, you can "trick" it to index local files rather than
web pages by feeding it a cooked up start_url, and mapping that URL,
and anything under it, to the local directory you want to index using the
local_urls attribute.  You'll also want to set local_urls only.  Finally,
you'll also need to map the cooked up "http://" URLs back to "file:/"
URLs so that the links in htsearch's results point to the correct pages.
You can do this using different settings of url_part_aliases for htdig
and htsearch.  See http://www.htdig.org/attrs.html for descriptions of
all these attributes.

In htdig 3.2.0b1, there is support for indexing "file:/" URLs directly,
but there are still a number of bugs in that beta release, so I don't
know how well it would work for you.  3.2.0b2, which is still in the
works, promises to be somewhat more solid.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to