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)
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.