As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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
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.
Some sample projects and blog posts I consider useful on the topic
Custom Previews in Alfresco Share - Parashift
GitHub - cetra3/md-preview: Markdown Previews and Editing for Alfresco Share
GitHub - keensoft/alfresco-zip-previewer: Alfresco ZIP and RAR entries preview for Share
I hope these can give you some ideas on how to do what you want.
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)