07-25-2017 02:46 AM
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
07-26-2017 06:20 AM
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.
07-26-2017 04:42 PM
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.
07-27-2017 04:46 AM
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)
Explore our Alfresco products with the links below. Use labels to filter content by product module.