Quote:
Originally Posted by Hitch
JSWolf:
In the interim, we've written our own clip, in-house, which now converts Sigil ePUBs into ePUBs that we then feed into KindleGen, and it works great; even generates a nice html TOC to make Kindle happy. Saves me about 20 minutes per mobi conversion, which doesn't sound like much until you do it 10 times a day. ;-)
Hitch
|
Converting Sigil to MOBI was not difficult once I asked a lot of questions and finally got everything into one sack.
The following OPF guide is modified in the Sigil OPF and handles most needs.
Code:
<guide>
<reference type="cover" title="Cover" href="Text/COVER.xhtml"/>
<reference type="title-page" title="Title Page" href="Text/TITLE_PAGE.xhtml"/>
<reference type="toc" title="Table Of Contents" href="Text/Table of Contents.xhtml"/>
<reference type="text" title="Start Reading" href="Text/CHAPTER_I.xhtml"/>
</guide>
Additional editing can handle Preface, Dedication, Copyright, etc.
The biggest problem as I see it in converting PG files is how MOBI will react to some of the "STYLES" used so well in Sigil and ePub. This is especially true with styles which modify "MARGIN", "PADDING", Hanging Indents and <p> tags inside "BLOCKQUOTE." MOBI is indeed crippled.
As limited as BD is, they went to great lengths to accomdate MOBI. I now understand the use of the <div> tag in place of <p>. Calibre does the same and seemingly modifies the code in converting to MOBI.
So, JSWOLF, I would be very interested in seeing how your efforts come to fruition. Until the Good Lord shakes the firmament and Amazon moves to ePub, we will struggle along.
Charlie