jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: TextFilters and mime types
Date Tue, 22 Nov 2005 15:13:46 GMT
Hi Martin,

Martin Perez wrote:
> TextFilters are working fine now. The problem is that several plain text
> well-known mime-types are not supported. For example, text/html, text/xml,
> text/css, text/sgml, ...
> 
> All of these are plain files, but TextPlainTextFilter won't recognize them
> because it only handles text/plain mime types. So common files like HTML
> ones are not indexed currently with jackrabbit.
> 
> So, or new filters are added, or TextPlainTextFilter should be modified to
> handle these files. If you want to create new filters, I could do it because
> I need it :)

I recommend to implement a separate filter, just to keep the existing 
filter as simple as possible.

> Also some time ago I did a filter for handling RTF files. It uses
> HTMLEditorKit JFC classes. I could contribute it if you find interesting.

sure, we are always interested in new filters.

regards
  marcel

Mime
View raw message