cancel
Showing results for 
Search instead for 
Did you mean: 

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

dina
Champ in-the-making
Champ in-the-making

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 3

afaust
Legendary Innovator
Legendary Innovator

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.

douglascrp
World-Class Innovator
World-Class Innovator

mehe
Elite Collaborator
Elite Collaborator

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)