Daniel Tellez a écrit :
> Tiry wrote:
>> You should just embed the mimetype-core and api inside your client to 
>> do the work on the client side rather than sending the blob to the 
>> server in order to get the mime type.
> Uhmm...
>
> Maybe, the icon and mime recognition could be added to "index" command 
> of the shell, instead of in fsimport, so we can take the advantage of 
> having the blob in the server.
for now the index command does not change the docs, but yes, it could.
Anyway, unless you create a new server side API, you will still have to 
do 2 remote calls ...

>
> What d'you think ?
>>
>> Daniel Tellez a écrit :
>>> Well... I've seen that I need to work more in deph to use 
>>> MimetypeRegistryBean on the fsimport command of the shell because of 
>>> the EJB problem (please, correct me if I'm wrong).
>>>
>>> In the meantime the file included in this issue 
>>> (http://jira.nuxeo.org/browse/NXP-2544) could be useful for you.
>>>
>>> I've added icons recognition and i've added new mimes to the 
>>> getMimetype function.
>>>
>>>  Regards.
>>>
>>>
>>>
>>> Daniel Tellez wrote:
>>>  
>>>> OK. The problem is in the getMimeType function in the 
>>>> FSImportCommand.java file.
>>>> It only defines the correspondence between few file types and mimes.
>>>>
>>>> I'll take a look at Nuxeo mimetype service :)
>>>>
>>>>
>>>>
>>>> Daniel Tellez wrote:
>>>>     
>>>>>  Hi,
>>>>>
>>>>> I'm trying to import files from my fs with shell and only Word 
>>>>> files (XLS, DOC...) are recognized correctly. The rest of the 
>>>>> files are imported, but as binary files.
>>>>>
>>>>> I've tried to run index after the import, but nothing.
>>>>>
>>>>> Do anybody knows why?
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>>             
>>>>       
>>>
>>>
>>>   
>>
>>
>
>

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to