Rick Richardson writes...
> 
> I worked out a shell script to do what I wanted to do.  I have
> attached said shell script "digdir".
> 

After further testing, I find that there is a slight problem when the
search results are longer than 1 page and you press "next" or page 2
to get the next page of results.

In that case, "htsearch" generates a CGI "GET" request.

Unfortuantely, with a "GET" request I am unable to override the
htsearch config file location like I can with a "POST" request, and so
htsearch tries to use the "normal" config file under /var/lib/htdig,
rather than the per-collection config file that I want it to use.

To fix this issue, I am going to have to make a shell script wrapper
for "htsearch" that converts any "GET" requests into pseudo-POST
requests.  That means that a "stock" htdig installation will not be
sufficient to use my tool.  Sadly, I can find no alternative.  Well,
another alternative is to hack the htsearch source code.

However, the shell script wrapper will be trivial to install, and it
only needs to be installed once.

-Rick

-- 
Rick Richardson  [EMAIL PROTECTED]   http://RickRichardson.freeservers.com/

My current CI is 28.  I'm 41.  I need 14 more cylinders by my next
birthday.  Two PWC's and an SUV ought to do it.  Thats my new goal.

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to