• Robert Knight's avatar
    Add test page for PDF-based (aka. fixed-layout) VitalSource books · b1b81da4
    Robert Knight authored
    Create a test page for PDF-based VS books, using content adapted from
    https://bookshelf.vitalsource.com/reader/books/9781938168239/, an
    OpenStax textboot that is available for free [1] in VitalSource.
    
     - Rename vitalsource.mustache => vitalsource-epub.mustache to make the
       distinction with the PDF example clearer.
    
     - Create vitalsource-pdf.mustache which serves as the "container" page
       for a PDF-based VS book. This is a copy of vitalsource-epub.mustache
       with the Prev/Next buttons removed and slight terminology changes
       ("chapter" => "page") to reflect how PDFs are handled in VS
    
     - Revise the descriptive text at the top of the VS PDF and EPUB
       examples to explain the purpose more clearly and relate them to how
       books are presented in the Bookshelf store, where the terms
       "reflowable" and "fixed" are used instead of "EPUB" and "PDF".
    
     - Add a very lightly edited copy of a real content page from a VS book
       in vitalsource-pdf-page.mustache. This is the HTML content from the
       iframe displaying a page in a PDF book in VS. The only changes I have
       made are small block of CSS customizations at the top (see comment)
       and a change to the URL of the rendered PDF page.
    
     - Update the links to the VitalSource test pages on the dev server.
    
    [1] Even though the book is free, you have to add it to your VitalSource
        book library before you can access it. To do that, go to
        https://bookshelf.vitalsource.com and search for the book ID (9781938168239
        in this case), then click "Open Book".
    b1b81da4
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev-server Loading commit data...
docs Loading commit data...
embedding-examples Loading commit data...
images Loading commit data...
requirements Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.dockerignore Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.prettierignore Loading commit data...
.python-version Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Dockerfile Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
codecov.yml Loading commit data...
gulpfile.mjs Loading commit data...
package.json Loading commit data...
pyproject.toml Loading commit data...
requirements-dev.in Loading commit data...
rollup-boot.config.mjs Loading commit data...
rollup-tests.config.mjs Loading commit data...
rollup.config.mjs Loading commit data...
tox.ini Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...