From dev-return-26007-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Wed Oct 28 17:00:23 2009 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 94035 invoked from network); 28 Oct 2009 17:00:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Oct 2009 17:00:23 -0000 Received: (qmail 94019 invoked by uid 500); 28 Oct 2009 17:00:23 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 93952 invoked by uid 500); 28 Oct 2009 17:00:23 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 93944 invoked by uid 99); 28 Oct 2009 17:00:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 17:00:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 17:00:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5F464234C045 for ; Wed, 28 Oct 2009 09:59:59 -0700 (PDT) Message-ID: <2035353285.1256749199371.JavaMail.jira@brutus> Date: Wed, 28 Oct 2009 16:59:59 +0000 (UTC) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2334) Tika-based type detection in jcr-server In-Reply-To: <508446502.1254225856031.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770992#action_12770992 ] Jukka Zitting commented on JCR-2334: ------------------------------------ Committed the patch in revision 830670. Felix: > in the Apache Sling WebDAV bundle, I made use of the ability to inject a custom MimeResolver to be able to use Sling's mime type resolver. You can still provide custom type detection functionality by injecting an implementation of the org.apache.tika.detect.Detector interface. > I would actually favor a solution which would provide a Tika-based Mime Resolver. The Detector interface is more expressive than the MimeResolver class we've used so far, so a Tika-based MimeResolver would not be as powerful a solution. For example the MimeResolver class did not support things like content sniffing or Content-Type hints. > Tika-based type detection in jcr-server > --------------------------------------- > > Key: JCR-2334 > URL: https://issues.apache.org/jira/browse/JCR-2334 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-jcr-server > Reporter: Jukka Zitting > Assignee: Jukka Zitting > Attachments: JCR-2334.patch, JCR-2334.patch > > > As discussed on dev@, I'd like to make the jackrabbit-jcr-server component use Apache Tika for automatic media type detection. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.