Web publication (a collection of HTML documents): specify URL of the primary entry page or manifest file.
Unzipped EPUB: specify URL of OPF file or top directory of the unzipped EPUB files.
GitHub and Gist URLs can be directly specified. Vivliostyle loads raw github/gist content when such URL is specified.
⚠️Mixed Content (“http:” URL is specified to “https:” Vivliostyle Viewer) is usually blocked by browser.
⚠️Cross-Origin (request to different domain) is usually blocked by browser unless the server is configured to allow Cross-Origin Resource Sharing (CORS).
URL parameter options:
#b=<document URL> or #x=<document URL>
#b= Book view. When (X)HTML document URL is specified, the URL is treated as primary entry page’s, and a series of HTML documents linked from the manifest or TOC (Table of Contents, e.g. marked up with <nav role="doc-toc">) are automatically loaded.
#x= (X)HTML document is simply loaded. Multiple documents can be specified as #x=<1st HTML>&x=<2nd HTML>...
&spread=[true | false | auto]
true: Spread view
false: Single page view
auto: Auto spread view (default)
&renderAllPages=[true | false]
true: for Print (all pages printable, page count works as expected)
false: for Read (quick loading with rough page count)