Ted Stresen-Reuter's bits of Thu, 11 Jul 2002 translated to:

>When the server recieves the request, if the user is authenticated, the PHP
>code sends an http header of "Content-Type: application/msword" along with a
>header "Content-Disposition: attachment filename=url_encoded_filename.doc"
>
>My question is, is this sufficient to invoke the msword->text translator
>used in conv_doc.pl or is the fact that the request is for a document with a
>..php extension going to confuse htdig?

I am not 100% certain, but I believe selection of external parsers
is based entirely on the provided content-type.

>Also, when running rundig, we are passing the -a option so that we can allow
>users to keep searching while the dig is in progress. However we've noticed
>that once the dig finishes, the old database and such are not replaced with
>the work files. Can anyone suggest a modification to rundig that would do
>this for us if run with the -a option?

Take a look at the rundig.sh (or rundig.3.2.sh) script at
http://www.htdig.org/files/contrib/scripts

Jim



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to