futurepress / epubjs-reader

Epub.js Reader
MIT License
446 stars 131 forks source link

Render Book From Web Service #17

Open BizSafe opened 6 years ago

BizSafe commented 6 years ago

Hi, thanks for awesome work!

I installed and tested successfully with Mobi and Alice. I then try render one of the books in my oracle database. The URL is a rest service that if put in the browser will download the correct book so I know the webservice is working, however when I use the same url as a parameter to your index,.html it just hangs forever. You can try it is follows https://futurepress.github.io/epubjs-reader/index.html?bookPath=https://bizsafe.co.za:7009/ords/bitcoin/A13665/get_book1449

and try just pasting https://bizsafe.co.za:7009/ords/bitcoin/A13665/get_book1449 into your browser bar to see the book

it is an epub+zip mime type

Any help will be sincerely appreciated

Thank you

Sandy

coler-j commented 6 years ago

@BizSafe can you post an example response from your 'rest service'? What content type is it returned in?

alexlupoz commented 5 years ago

I have the same problem! I tryed load an epub by my website (https://sfynx.com.br/myepub.epub) and don't work

dhiv-nitt commented 4 years ago

@BizSafe @alexlupoz Is there a solution for this ? I am also facing the same issue. the URL that i am using is also a epub+zip mime type.