Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rohit Sovale 14 posts 84 karma points
    Apr 26, 2017 @ 07:32
    Rohit Sovale
    0

    Epub file format support for Umbraco 4.11.10

    I got a request to add Ebooks(epub) to the Umbraco media section. Does umbraco have support for epub file type ? and if it is then can anyone please help to know how can I add ebooks to media section and show them on the browser?

  • Damiaan 434 posts 1279 karma points MVP 2x c-trib
    Apr 26, 2017 @ 08:25
    Damiaan
    1

    Uploading and serving the file is default behavior for (almost) any file in the media section.

    What else do you expect from "epub" support?

    Kind regards

  • Rohit Sovale 14 posts 84 karma points
    Apr 26, 2017 @ 10:39
    Rohit Sovale
    0

    Hi Damiaan

    Thanks for the response. Actually I tried adding one sample epub type file to the media section and linking it with one of the sample node and thus tried accessing it on webpage,but it shows me "the webpage you are looking not available" message . However on other hand when I tried same procedure for pdf file it was working. can you please help me more on this?

    Thanks in advance.

  • Damiaan 434 posts 1279 karma points MVP 2x c-trib
    Apr 26, 2017 @ 12:26
    Damiaan
    0

    Probably the IIS is not configure to serve this file extention. Check the web.config to verify if the mimeType is available.

    I guess you should add something line this in the staticContent section:

    <staticContent>
       ...  other stuff
       <remove fileExtension=".epub"/>
       <mimeMap fileExtension=".epub" mimeType="application/epub+zip "/>
    </staticContent>
    
Please Sign in or register to post replies

Write your reply to:

Draft