[
https://issues.apache.org/jira/browse/CONNECTORS-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15073892#comment-15073892
]
Karl Wright commented on CONNECTORS-1268:
-----------------------------------------
[~dapicard]: Configuration files are frowned on in ManifoldCF; they are
problematic because of the distributed nature of the software.
You could add a connector-specific property which you read out of global
configuration via LockManager, but if you do that there's still the issue of
how we support this in examples etc. So, in this case, I'd just highly
recommend extending the canned mime type list. In fact I will be happy to add
all mime types you might be interested in. The best solution would be to
interrogate FileNet as to what mime types it knows about; that's how the code
is set up, and that's what we do for other repositories such as Documentum.
> [Filenet]Allow to configure mime types list
> -------------------------------------------
>
> Key: CONNECTORS-1268
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1268
> Project: ManifoldCF
> Issue Type: Improvement
> Components: FileNet connector
> Affects Versions: ManifoldCF 2.2
> Reporter: Damien Picard
> Assignee: Karl Wright
> Priority: Minor
>
> Currently, the mime types list crawled by the Filenet connector is defined in
> the class org.apache.manifoldcf.crawler.connectors.filenet.FilenetConnector,
> method getMimeTypes().
> A document stored in the Filenet repository, which could have a mime type not
> referenced in the given list, could not be indexed by the connector. As an
> example, OASIS mime types :
> - application/vnd.oasis.opendocument.presentation
> - application/vnd.oasis.opendocument.spreadsheet
> - application/vnd.oasis.opendocument.text
> We should have a way to override this list, at least in a configuration file.
> The simplest way may be to add a configuration key in one of the
> configuration files (which one ?) which will contain the available mime types.
> I can do the changes ; could you explain here which configuration file I
> should use ?
> Thank you.
> Regards
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)