Newbie needs Cloud Reader advice

5 posts / 0 new
Last post

I need advice getting Readium CloudReader working on our site. I compiled and installed cloud-reader. The link to the reader appears to be working but it is not finding the content, a single sample book. The Readium library page is blank, with just the black menu background and the white background.

You can see the problem directly by going to our home page: www.smartbookbinders.com. (A work in progress.) The bottom most link, “Click here to read/listen on your browser” takes you to the Readium library page but the single book content does not appear. I have put the epub_content directory in the cloud-reader directory and the expanded Epub files below that: smartbookbinders.com/cloud-reader/epub_content/PnP_sample. The book passes the latest epubcheck.

Here is the entry in our epub_content/epub_library.opds file.

<entry>
<title>Pride and Prejudice</title>
<author>
<name>Louisa May Alcott</name>
</author>
<link type="image/jpeg" href="PnP_sample/OEBPS/images/Pride_and_Prejudice.jpg"
rel="http://opds-spec.org/image/thumbnail"/>
<link type="application/epub" href="PnP_sample"
rel="http://opds-spec.org/acquisition"/>

<updated>2016-12-20T00:00:00Z</updated>
<id>SmartBookBinders_01_01</id>

</entry>

One other bit of information: Readium was built on a local Ubuntu machine and uploaded to the GoDaddy server.

Any help or guidance would be greatly appreciated. Thanks!

I can see the OPDS:
http://www.smartbookbinders.com/cloud-reader/epub_content/epub_library.opds

The META-INF/container.xml resolves too (pride and prejudice sample):
http://www.smartbookbinders.com/cloud-reader/epub_content/PnP_sample/MET...

...and the official Readium cloud reader app (latest build from the develop branch) loads the EPUB fine:
https://readium.firebaseapp.com/?epub=https%3A%2F%2Fcrossorigin.me%2Fhtt...

...as well as the OPDS:
https://readium.firebaseapp.com/?epubs=https%3A%2F%2Fcrossorigin.me%2Fht...

(as I remarked in my previous comment, the book cover image seems to be missing)

It doesn’t look like you got this resolved. I have just being trying out Readium in the last couple of days and my first experience was similar to yours. It took a little sleuthing but I discovered that my hosting provider’s virus checker was flagging the vital readium-js-viewer_all.js script so that as soon as I uploaded it, it was quarantined (effectively deleted). This caused the same blank-looking index page that you have. Check if /cloud-reader/scripts/readium-js-viewer_all.js—I can’t access it at http://www.smartbookbinders.com/cloud-reader/scripts/readium-js-viewer_a... but http://www.smartbookbinders.com/cloud-reader/scripts/mathjax/MathJax.js *is* accessible, so it looks like the same problem.

My other discovery is that although you can read a book in a folder with spaces, Readium won’t be able to access styles or images! Not very consistent behaviour.

Now I just need to figure out why the rendering is so different in Firefox compared to Chrome.

Moilleadóir said:

My other discovery is that although you can read a book in a folder with spaces, Readium won’t be able to access styles or images! Not very consistent behaviour.

Daniel:
could you please file a GitHub issue to provide details about this problem? This sounds like a bug to me.
Thanks!

Secondary menu