readium / readium-css

šŸŒˆ A set of reference stylesheets for EPUB Reading Systems, starting with Readium Mobile
https://readium.org/readium-css/
BSD 3-Clause "New" or "Revised" License
90 stars 20 forks source link

doc packaged as EPUB, can we please have exploded / expanded / unzipped as well as? #29

Closed danielweck closed 6 years ago

danielweck commented 6 years ago

ReadiumCSS_docs.epub: https://github.com/readium/readium-css/blob/develop/docs/ReadiumCSS_docs.epub

@JayPanoz would it be possible please to store in the GitHub repository the extracted files of ReadiumCSS_docs.epub, for example inside a folder called ReadiumCSS_docs? https://github.com/readium/readium-css/tree/develop/docs/ReadiumCSS_docs

This way, the Readium "cloud / web reader" won't have to load the entire 1.5+MB EPUB in memory: https://readium.firebaseapp.com/?epub=https%3A%2F%2Frawgit.com%2Freadium%2Freadium-css%2Fdevelop%2Fdocs%2FReadiumCSS_docs.epub

Thanks! :)

danielweck commented 6 years ago

Also, for your information, this is the Readium2 "webpub manifest" JSON view: https://readium2.herokuapp.com/pub/aHR0cHM6Ly9yYXdnaXQuY29tL3JlYWRpdW0vcmVhZGl1bS1jc3MvZGV2ZWxvcC9kb2NzL1JlYWRpdW1DU1NfZG9jcy5lcHVi/manifest.json/show/all (ReadiumCSS_docs.epub is dynamically fetched from GitHub, via the RawGit proxy) ( https://readium2.herokuapp.com/url/https://rawgit.com/readium/readium-css/develop/docs/ReadiumCSS_docs.epub )

JayPanoz commented 6 years ago

Here you go ā†’ https://github.com/readium/readium-css/tree/e9e03f58171a56d34bbd05d3bc2148180d289833/docs/ReadiumCSS_docs

danielweck commented 6 years ago

...and another FYI, this is EPUB.js loading ReadiumCSS_docs.epub via the Readium webpub JSON: https://s3.amazonaws.com/epubjs-manifest/examples/manifest.html?href=https://readium2.herokuapp.com/pub/aHR0cHM6Ly9yYXdnaXQuY29tL3JlYWRpdW0vcmVhZGl1bS1jc3MvZGV2ZWxvcC9kb2NzL1JlYWRpdW1DU1NfZG9jcy5lcHVi/manifest.json

danielweck commented 6 years ago

Thanks @JayPanoz it works: https://readium.firebaseapp.com/?epub=https%3A%2F%2Frawgit.com%2Freadium%2Freadium-css%2Fdevelop%2Fdocs%2FReadiumCSS_docs :)

JayPanoz commented 6 years ago

Thanks!

FYI I still have to align some parts of the doc with the current implementation, since we can now deal with it without any ā€œiOS-implemā€ specific one. But Iā€™ll update the docs ASAP (reviewed them this morning so I already know which parts I must edit).