You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a book data object is made up of several HTML files, such as the example book Dubliners, the page count is for a particular file instead of the whole book, which is then very little reference of how far in the book one is. It would be great to be able to display page no. X of book's total Y.
The text was updated successfully, but these errors were encountered:
This requires processing the entire book, which runs against Monocle's architecture, loading components on demand.
For Booki.sh we intend to run entire books through a headless Safari during the importation of data phase, giving us a fairly accurate idea of each component's relative size. If we can see that a component is 6% of the book, and the component is 10 pages at the present resolution, we know that the book is 600 pages (give or take a page).
So that's one approach. In short, full-book calculations aren't going into Monocle itself - you'll have to do them server-side or just get clever.
If a book data object is made up of several HTML files, such as the example book Dubliners, the page count is for a particular file instead of the whole book, which is then very little reference of how far in the book one is. It would be great to be able to display page no. X of book's total Y.
The text was updated successfully, but these errors were encountered: