![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2011
Device: Kindle 3
|
How "ebook-convert *.mobi" works?
Hi All!
For an automated project, I'm trying to figure out what happens when I convert an OEB book to mobi. I tought that it simply packs the html files to the PalmDOC format but there is something special: If I make a "clean" (almost unformatted) OEB e-book than converts it to mobi and back the new one will have many calibre1, calibre2, etc. CSS-styles. Also HTML comments are lost. What are these? Are they there for compatibility purposes? Are they generated at packaging to mobi or at unpacking? Could you please help me find the part of code in calibre which is related to mobi converting or in charge of these styles? I'm intrested in e-books and would like to understand better the way "it works". Thanks a lot in advance! |
![]() |
![]() |
![]() |
#2 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
This section of the manual might be a good place to start for an overview of the conversion pipeline.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2011
Device: Kindle 3
|
Quote:
Is there a way to do this? It seems that ebook-convert does not have any arguments like this. Last edited by hzsolt; 08-20-2013 at 11:17 AM. |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,331
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cannot, the MOBI OUtput plugin depends on the rest of the conversion pipeline having been run first. If you want more details, read the code, the structure of the code is described in the dsetting up development environment section of the user manual.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub to mobi convert as "pure" as possible | gers1978 | Conversion | 4 | 05-23-2014 07:12 PM |
Convert "The Economist" EPUB to MOBI = Lose Navigation to Articles and Sections | dukelov3 | Conversion | 3 | 03-08-2013 10:11 PM |
How to convert an EPUB to MOBI with "Sections & Articles" feature? | donnie888 | Conversion | 0 | 10-20-2012 10:29 PM |
EPUB to MOBI: "Failed: Convert book 1 of 1" | Jillo | Introduce Yourself | 4 | 02-20-2010 06:49 PM |
Zune eBook Creator (RTextAsImage) - "Convert" text to images | oleg.shastitko | Reading and Management | 10 | 01-28-2008 01:18 PM |