How to view/add the epub file type preview in Alfresco share ?

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

How to view/add the epub file type preview in Alfresco share ?

We cannot preview the .epub files in the alfresco ?

How can i add the .epub files to be previewed in alfresco.if new file extension added how can we add the format to be previewed in alfresco preview viewer in share.

Thanks

Dina

3 Replies
Highlighted
Master

Re: How to view/add the epub file type preview in Alfresco share ?

The simplest approach to enabling preview for any file format is by providing a transformation component (Java-based implementation, or simple configuration, if you have an external command line tool/script that can do it) that is able to convert a epub file to e.g. a PDF. A more complex approach would be to integrate a client-side preview component that can natively handle epub.

Highlighted
Advanced II

Re: How to view/add the epub file type preview in Alfresco share ?

Highlighted
Senior Member II

Re: How to view/add the epub file type preview in Alfresco share ?

you can convert epub to pdf with "calibre". It has a command line utility  "ebook-convert" which should do the trick.

You then just have to configure a content converter (and an ebook mime type if not already defined)