Comments (3)
See: https://stackoverflow.com/a/40561575
reflowable means that there is no pre-determined pagination, hence the text "flows" to adapt to the reading device screen size and to the font height/margin/line spread choices of the user. It is basically like a Web site (= set of Web pages), packaged into a single ZIP file. This is by far the most common flavor of EPUB.
If you have reflowable EPUBs, there is no intrinsic concept of page. Some reading applications compute the "number of pages" by counting the number of characters in the text, and then dividing this number by some constant (e.g., 1024 characters/page). But of course this is just a rough estimate and it does not necessarily correspond to the number of "screens" needed to display the text, which, again, depends on the typographical choices of the reading application and the user (font size, margin, line spread, etc.). Some other reading applications just display a % progress, computed using the number of characters of the text seen so far divided by the total number of characters in the text.
from pyshelf.
Thanks for the link I think this may be exactly what I was looking for!
Already having access to the individual pages i can scrape the contents and do the division to return a generalized representation of pages.
from pyshelf.
For the time being im going to let page count be handled by the reader exclusively
from pyshelf.
Related Issues (20)
- Binary image display in template HOT 2
- [Feature] ebook friendly ui HOT 2
- Installation Options
- Incorrect Website HOT 3
- Linux Install importBooks Issue HOT 3
- Django settings contain sensitive data and debug is default on HOT 7
- Add ability to import books from frontend HOT 6
- Add ability to directly E-mail Mobi files to Kindle E-mail addresses
- Allow user defined config variables as docker environment variables
- Add Support for Other Architectures HOT 1
- Value too long for type character results in failure during import books HOT 6
- Website is down HOT 1
- Dynamically display books in html HOT 2
- Import books times out when executed from web ui HOT 1
- sqlite support ? HOT 1
- Features - link pyshelf to pyshelf HOT 2
- Calibre support
- Add user HOT 1
- Features - github support HOT 3
- Features - attached ressources HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyshelf.