According to Henning Sittler:
> I'm using htdig to output to STOUT so that a script can glob the output
> together.  I've edited my htdig templates and config, but I want to tell
> htsearch not to output the first line:
> 
> Content-type: text/html 
> 
> Normally this would be great, but the script is already expecting plain text
> to be sent to STOUT by its system call to htsearch.  Thus Content-type:
> text/html  is actually output to the HTML generated, but it's visible in the
> middle of the page, thanks to the globbed output.
> 
> I know I can tell the script to remove the first line, but it would be more
> efficient to have htsearch stop sending it.  Any ideas?

Grab a copy of the 3.1.6 snapshot at http://www.htdig.org/files/snapshots/
and set search_results_contenttype to an empty string in your config file:

search_results_contenttype:

-- 
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]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to