View Single Post
Old 08-05-2011, 06:00 PM   #1
freewheeing
Junior Member
freewheeing began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2011
Device: Kindle 2
HTML out of order

Hi:

I'm trying to produce a MOBI book with Calibre from a complex website that's set up to be read online, and I'm getting really frustrated. I just can't get the html files to process in the right order. The book is in sections and after processing the first few intro pages it starts processing the main book sections with section 100.00. It does everything up to then in the right order, however instead of going to section 101.00 it jumps to section 250.00. Then it jumps to section 1044.13 then back to 982.20 then back to 613.00 then back to 450.00 then forward to 800.00, etc., etc..

The html documents for the sections are stored in separate sub-folders so all of the numbered sections from 100.00 up to 200.00 (not including the latter number) are in subfolder s01. These are labelled p0000.html, p0100.html, p2000.html, p3000.html, and so forth. Then all the sections from 200.00 to 300.00 are in subfolder s02, etc.. This goes up to s12 for sections in the 1200.00 to 1300.00 range.

When I'm navigating in the Firefox browser or even in the MOBI document reader I can click on the hypertext in the TOC to take me to the right section of the book every time, but I can't read it in sequence in the MOBI or Kindle by just scrolling because the sections are in the order they were processes. It seems to jump all over the place. There's also a "next page" button at the bottom of every section page, and if I read the section and then click on "next section" it goes to the right place every time, even in the MOBI reader. However, scrolling doesn't work and I wanted to get rid of the section buttons anyway.

I've tried everything to get it to process in the right order including making up my own TOC using very simple HTML but it just won't do it. I'm using all of the default settings for the MOBI conversion. Any ideas how I can get this scripted in the correct order?

Once I do that I can get rid of the unwanted buttons and so forth. It eventually processes section 101, so it's not leaving anything out. But it's about the 20th in the sequence and I can't even make sense of the pattern.

Oy.
freewheeing is offline   Reply With Quote