According to Stephen L Arnold:
> On 17 Jan 01, at 10:29, Gilles Detillieux wrote:
> [snip]
> > Here's a patch that fixes this:
> > 
> >     ftp://ftp.ccsf.org/htdig-patches/3.1.5/any_keywords.0
> > 
> > The Apache auto-index stuff made the keyword "doc" match any .doc file,
> > because the index uses the file names as link description text for the
> > link to the file, and with a non-zero description_factor, these words
> > have weight in the search.
> 
> The weighting wasn't the issue; we just didn't want the Apache 
> directory indexes showing up in the search results at all.  One of 
> the other guys in my office is sort of a perl guy, so I asked him 
> to do a perl script that generates an html file of links to all the 
> files found in a directory tree.  He did it, but it spits out 
> absolute path names instead of relative to the http document root.  
> I hacked it to work, but I'm *not* a perl guy.  I could send it to 
> you for the scripts directory if you want, but it needs a little 
> refinement.  Let me know; it might be useful for others with 
> similar requirements.

Sure, feel free to post it to the list.  Some users may find it useful.
There's also a simple shell command, in FAQ 5.25, that generates a list
of URLs using sed.

> Anyways, thanks for the patch; it works great (and produces exactly 
> the requested behavior).
> 
> Regards, Steve


-- 
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

_______________________________________________
htdig-general mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to