At 9:43 PM -0500 5/29/01, Chris Green wrote:
>Sorry, I didn't explain that well.  I had to handle local files with no
>extension.

It may be worth having a default MIME type like Apache does, for 
files w/o extension. This would obviously be an attribute, say if it 
was left blank, they'd be ignored for local indexing.

>My idea, if it is sane, is to write a parser script to handle
>text/plain in this special case ( with a dedicated htdig.cfg as I have
>now )

I'd think it'd be better to write a specific parser script for mail 
spools and giving them some sort of unique MIME type. Then you don't 
have to worry about your normal text/plain files getting mangled. I'd 
assume that others may be interested in a mailspool parser script.

(For an example, it would take Subject: lines and make them into 
header fields.)

-- 
--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

_______________________________________________
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