-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle one-html-file books a bit better #39
Comments
I suspect the problem isn't with Beru itself, but with the Monocle Unfortunately, this means that the fix lies within Monocle, and I don't |
I agree almost completely with you, but I think that Monocle won't get any faster because it's just dealing with a really big file. My thought was that Beru could unzip the file and then, if it's large (Calibre splits files up into 260KB chunks by default if they're larger than that), Beru breaks it up into bits as if it were actually produced that way. But... that might be hard if you have to also rewrite-on-the-fly the spine stuff; the impression I had from Monocle was that you can tell it "here is a list of files" any place where it wants one file, but I might very well be wrong because I hardly know that code at all :) |
I thought of that briefly, since it does get around the
Frankly, I wonder if a better solutions is a dedicated epub reformatter |
Hm. I hadn't thought about links. Darn. That is a problem. A dedicated reformatter would be ideal, wouldn't it? The only one I know of I'll have a poke around and see if I can find anything, although I'm sure On Sat, Mar 8, 2014 at 7:05 PM, Robert Schroll [email protected]:
New Year's Day -- |
Actually, it may not be as bad as I feared. We don't actually need to |
Beru doesn't deal all that well with epubs which have the whole book content in one massive HTML file rather than a number of small files. Now, obviously, a well-put-together epub doesn't do that, but I clearly have a fair amount of non-well-put-together epubs. The book reader will essentially hang for seconds at a time, especially when switching back to Beru from another app, or after rotating the phone. (Note: Beru itself is not hung: the toolbar shows up fine.)
The text was updated successfully, but these errors were encountered: