JavaScriptベースのEPUB3ビュアーReadium.jsを試してみた。

https://github.com/readium/readium-js-viewer

を参考にした。

インストール先は、Cent OS 6.5

まずはgitのインストール。

# yum install git

 

続いて、ホームの下にepub3を作って、そこでgit cloneをする。

$ cd ~foo/public_html/epub3

$ git  clone  https://github.com/readium/readium-js-viewer.git


同期が終了したら、サンプルページの表示。Chromeブラウザで確認。 

http://hostname/~foo/epub3/readium-js-viewer/simpleviewer.html?epub=epub_content/moby_dick

 

とりあえず表示成功。