On Wed, Jun 22, 2005 at 05:05:53PM -0400, Revillini, James wrote:
> RTF's are killing it now. As soon as it runs into one, the output file
> from dirtree.pl goes like this:
$ perl -MMIME::Types -le 'print MIME::Types->new->mimeTypeOf("foo.rtf")'
text/rtf
I think catdoc will handle rtr somewhat. So add text/rtf to the list
of content types that it will handle.
I thought I added and easy way to add mime-types from the calling
program (ie DirTree.pl), but don't see it right now. Try adding it to
Filters/Doc2HTML.pm:
mimetypes => [
qr!application/(x-)?msword!,
qr!text/rtf!,
]
--
Bill Moseley
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
swish-e@sunsite.berkeley.edu
Received on Wed Jun 22 14:23:11 2005