Quote:
Originally Posted by bizzybody
I removed the OPF from the zip file and renamed the A9781451637762_toc.htm file to toc.html in the ZIP.
They are NOT "random" html files. They are numbered in ascending order.
A9781451637762___1.htm
A9781451637762___2.htm
A9781451637762___3.htm
through
A9781451637762__91.htm
A program designed to assemble multiple files into a specially formatted container like Mobi or Epub should be able to follow a numerical sequence. That's one of the most basic elements of programming, sorting numerically or alphabetically.
Here's the contents of the toc.html, which displays fine in a browser. Must be something about it that Calibre doesn't like.
|
The are pseudo-random as the ASCII sort will sort 20 after 2, 80 after 8
Note padding all digits eg 08 will sort properly for 2 digits