That was my "big" problem all this time, I almost went crazy. Now it works perfectly, thank you very much for your help.

It might be interesting to write a small manual: "How to create a new Tika Parser for Dummies". Simply including the three steps that I have finally figured out (new Parser, tika-mimetypes.xml, list the new parser).

Greetings and thanks Nick it has been a great help



El 13/07/2010 12:37, Nick Burch escribió:
On Tue, 13 Jul 2010, Arturo Beltran wrote:
I'm calling my parser using the Tika-app included, so I think I'm using AutoDetectParser.

You have to explicitly tell the AutoDetectParser to try your parser, in addition to the mime type definition

List your new parser in:
tika-parsers/src/main/resources/META-INF/services/org.apache.tika.parser.Parser
and I think it should then be picked up

Nick



--
Arturo Beltran Fonollosa
Institute of New Imaging Technologies (INIT): http://www.init.uji.es
Geographic Information research group: http://www.geoinfo.uji.es
Universitat Jaume I, Avda. de Vicente Sos Baynat s/n
E-12071, Castellón, Spain
mailto: arturo.belt...@uji.es

Reply via email to