Hello
!
The epubReadingSystem object provides an interface through which a Scripted Content Document can query information about a User's Reading System.
It’s part of the ePub 3 standard:
http://www.idpf.org/epub/30/spec/epu...bReadingSystem
An example implementation by Readium-js:
https://github.com/readium/readium-j...ding_system.js
As far as I can tell from grepping the source code, the Calibre Viewer does not support the epubReadingSystem object? I attached a small ePub [1] that works for me in Readium, but not in Calibre [2].
Would you be interested in adding this feature to Calibre? I could see how far I can get with doing this, though I’ll need a little help.
This is what I imagine needs to happen:
1) Add a script to oeb’s existing array of Coffeescripts:
https://github.com/kovidgoyal/calibr...ks/oeb/display
2) Add the script to the loaders index:
https://github.com/kovidgoyal/calibr.../javascript.py
3 ) Specify that the script needs to be loaded? And only for EPUB3?
I was also wondering, how can I start the Calibre viewer with a JavaScript console.
Curious what y’all think of this,
Best,
Eric
[1]
http://silo.schr.fr/self-conscious-epub.epub (84k)