View Single Post
Old 04-05-2015, 07:23 PM   #3941
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,039
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Amalthia View Post
I've noticed that for stories that don't have a lot of chapter breaks that the epub doesn't split the files into smaller pieces.

Is there a way to turn this on in FFDL?

I ask because my reader seems to cut off bits of the story when it reaches a certain size limit for the html, anything larger than 250kb seems affected. In my regular ebook epub conversions I have my setting "split files larger than" set to 160kb.
How often are you bumping into this? Can you give few example stories? What reader(s) specifically? And is this a problem for anyone else?

This is one of those things that sounds simple, but is actually more complex than it seems.

First, splitting an HTML file at an arbitrary byte count without breaking the structure can be pretty challenging (eg, what if it falls in the middle of a large table?). Calibre has code to do it, but FFDL also runs without calibre.

Second, FFDL reads (and counts) the files named file0001.xhtml, file0002.xhtml, etc as one chapter apiece in an existing epub to do epub updates. Split chapter files would have to be taken into account.

Using calibre's Convert or Edit Book (then save) on the epub will invoke the split function. But if you later try to do an FFDL epub update on the epub with split chapters, it won't come out correctly--some chapters may be lost and others duplicated depending on which ones were split.

So right now, your options are somewhat limited:

Manually force a convert or edit to do the split on the (hopefully few) books that need it and remember to do an over write instead of update on those books next time.

Or default to using 'Overwrite when Newer' instead of 'Update Epub' and automatically converting epub->epub every time if it happens a lot.

I'll consider options for splitting in FFDL, but unless I get some brilliant idea (or there are a lot of people with the same problem), I doubt it will happen.
JimmXinu is offline