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. 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. >>>> >>>> >>> >> >> >> > > -- Daniel Téllez Yerbabuena Software Responsable de Desarrollo C/Severo Ochoa 4, Edificio Investigaciones Universitarias, Parque Tecnológico de Andalucía, Málaga (España) [EMAIL PROTECTED] Telf/Phone -Fax.: (+34) 902 995 246 Móvil/Mobile: (+34) 615 051 283 www.yerbabuena.es [EMAIL PROTECTED] En cumplimiento de la Ley Orgánica 15/1999 de 13 de Diciembre, de Protección de Datos de Carácter Personal, de YSENGINEERS, S.C.A., como Responsable del Fichero, pone en su conocimiento que los datos incluidos en este mensaje están dirigidos al destinatario o destinatarios designados, por lo que si lo ha recibido por error, le rogamos nos lo haga saber a la mayor brevedad posible, y elimine el original, no estando permitido hacer ningún uso del mensaje. Ponemos en su conocimiento la posibilidad de ejercer sus derechos de acceso, rectificación, cancelación y oposición, en los términos establecidos en la legislación vigente, que podrá hacer efectivos dirigiéndose por escrito a de YSENGINEERS, S.C.A., en la dirección: C/ Severo Ochoa, num. 4, Parque Tecnológico de Andalucía, 29590, Málaga. _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
