ukwa / ukwa-pywb

GNU General Public License v3.0
11 stars 3 forks source link

Add alternative Vivliostyle ePub viewer #99

Closed anjackson closed 1 year ago

anjackson commented 1 year ago

The Vivliostyle ePub viewer is quite sophisticated and could be used to improve access to ePub documents )in the short term at least, augmenting #85). See this example.

However, there have been some problems integrating it.

It's still worth exploring, as perhaps redirects could be used to fix the first problem, and perhaps the latter will not crop up because the ARK URLs are simple (and also proxied behind the ePub streamer).

anjackson commented 1 year ago

I was able to render some pages using URLs like:

http://dev1.n45.wa.bl.uk:8209/static/viewers/vivliostyle/viewer/index.html#src=http://dev1.n45.wa.bl.uk:8209/doc/20130401000000ir_///doc-streamer%3A8000/ark%3A/81055/vdc_100040361719.0x000001/

This viewer has the opposite problem in that it seems a bit too complex. e.g. it allows book mode to be switch off, but we absolutely need that.

Also, it's not clear if I'm managing to circumvent the single-concurrent-use lock here?

anjackson commented 1 year ago

Not pursuing this for now.