According to Tim Holt:
>   I'll just pass this on here.  I was creating an XML output interface 
> (via templates) for htsearch output, and ran into what many others have 
> run into - the problem of the content type.  So I made a small addition 
> to Display that goes something like this...
...
> There are a few other places you have to patch the output - basically 
> every place where a "Content-type: text/html" happens.  But you get the 
> basic idea.

Thanks.  We had discussed adding a similar feature back in August,
but I never got around to it.  I've now implemented it in the 3.1.6
development code, called from all relevant places in the Display code.
The difference is that if the search_results_contenttype attribute is
empty, the header is suppressed from the output, allowing even more
flexibility in configuration.  Of course, the default value is set
to text/html.

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