Installation and configuration

4 posts / 0 new
Last post

Hello,
I am new to ReadiumJS.

Issue: some images/fonts/icons referred to in some files are missing.
For example in file:
/readium-js-viewer/css/annotations.css
there is line:
background-image : url("/images/comment_clickable_icon.png");

Another example is:

fonts/glyphicons-halflings-regular.woff2

is referenced from another file.

I solved the issue by downloading the missing files/icons/fonts/images manually to the path reference.

But my question is:
Why are they missed by the installation process. (Am I missing something here?)

I have followed all the instructions in the README.md file (https://github.com/readium/readium-js-viewer/blob/master/README.md)

...
...
From the command line run npm install -g grunt-cli
From the command line run npm install (in the readium-js-viewer directory)
From the command line run cd readium-js
From the command line run npm install (a second time in the readium-js directory)
...
...

Hello, the missing WOFF file is a known problem: https://github.com/readium/readium-js-viewer/issues/342
(issue fixed in an ongoing GitHub feature branch)
The missing annotations.css image ; just like the missing WOFF font ; is benign (no adverse effect normal application operations). However, the CSS will be fixed to remove the error message.
Thanks! Daniel

Thanks Daniel for your answer.

I also need to modify/use Readium.js library. Is there a documentation of the exposed API. I cannot see anything in GitHub, just the code.

I am looking for something more than just readium-js-viewer example. Moe geared towards Readium.js detailed usage.

Similar to angular js: If Readiums.js were Angular.js, I am looking for something like: https://docs.angularjs.org/guide/introduction

Hi,

I second David for the documentation! I would also need to integrate readium-js in my code and it would definitely help if I could see the API.

Secondary menu