View Full Version : ePub to Mobi checker


MarcusStringer
07-01-2010, 09:53 PM
Hi Guys,
I made my ePub all good to go, validated, the works.
Now my client wants to also convert use the epub file and convert to mobi.

I've downloaded the program KindleGen v1.1 from <a href="http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000234621">here</a>

And when I run the command c: kindlegen bookname.epub I get this log:
It still makes the mobi file but says an error with the cover????

Does anyone have any ideas???

Thanks
Marcus

Here is the log:

C:\>kindlegen jobname.epub

***********************************************
* Amazon.com kindlegen(Windows) V1.0 build 85 *
* A command line e-book compiler *
* Copyright Amazon.com 2009 *
***********************************************

opt version: try to minimize (default)
Info(prcgen): Added metadata dc:Title "Jobname"
Info(prcgen): Added metadata dc:Creator "Author"
Info(prcgen): Added metadata dc:Rights "ISBN "
Info(prcgen): Added metadata dc: Description "Author is the bestselling au
thor of Blah and His books have been published around the wor
ld and translated into many languages."
Info(prcgen): Parsing files 0000033
Warning(prcgen): media file not found C:\DOCUME~1\EmmaJ\LOCALS~1\Temp\EGHWIPWH\
OEBPS\jobname_dinkus.jpg
Warning(prcgen): media file not found C:\DOCUME~1\EmmaJ\LOCALS~1\Temp\EGHWIPWH\
OEBPS\jobname_dinkus.jpg
Info(prcgen): Resolving hyperlinks
Info(prcgen): Building table of content URL: C:\DOCUME~1\EmmaJ\LOCALS~1\Temp
\EGHWIPWH\OEBPS\toc.ncx
Warning(prcgen): Cover not specified
Info(prcgen): Computing UNICODE ranges used in the book
Info(prcgen): Found UNICODE range: Basic Latin [20..7E]
Info(prcgen): Found UNICODE range: General Punctuation - Windows 1252 [2018..201
A]
Info(prcgen): Found UNICODE range: Latin-1 Supplement [A0..FF]
Info(prcgen): Building MOBI file, record count: 0000195
Info(prcgen): Final stats - text compressed to (in % of original size): 049.95%

Info(prcgen): The document identifier is: "Jobname"
Info(prcgen): The file format version is V6
Info(prcgen): Saving MOBI file
Info(prcgen): MOBI File generated with WARNINGS!

AnemicOak
07-02-2010, 12:36 AM
No ideas, but I'm sure someone here will know. Does it end up having a cover even though there's an error?

Personally I'd use Calibre to create the Mobi. Adobe even recommend it to folks using InDesign generated ePubs as the best/easiest way to get books into Mobi format for the Kindle.

MarcusStringer
07-02-2010, 12:46 AM
Thanks Brian...

I actually found the solution but forgot to come back here and let people know... pretty much what you saying is correct...
Here's a link to the answer.

http://www.mobipocket.com/forum/viewtopic.php?t=14305&sid=494a2df12b48a1e8fdca8ae0e7bfb752

MarcusStringer
07-02-2010, 03:55 AM
As it turns out it wasn't the solution after all... I need to know how to fix this. because they are uploading epub to amazon which does the conversion to mobi.

so back to square one with this problem...

any help will be very greatful

thanks

ATDrake
07-04-2010, 01:13 PM
I had that same "Warning(prcgen): Cover not specified" when I went and converted Elizabeth Moon's Sheepfarmer's Daughter from the Baen Free Library (in case you were wondering why, this adds chapter marks which don't exist in the regular .prc version).

But it went away once I edited the OPF to link in the cover image the way that kindlegen expects to see it, according to "Cover Image Guideline #1" on page 11 of the Amazon Kindle Publishing Guidelines (http://s3.amazonaws.com/kindlegen/AmazonKindlePublishingGuidelines.pdf) (3 meg PDF).

Incidentally, you'll have to edit any other entries you have for specifying the cover image and only use the Kindle approved method, otherwise it'll show up twice in the file. Same as for the Table of Contents.

Incidentally, on the Mac, at least, kindlegen v1.1 now creates horribly bloated files, roughly twice the size of the ones that v1.0 makes from the same source, even on the tightest compression settings.

I don't know whether it's a bug in this build, or something to do with how it now accepts higher-res images in anticipation of the new audio/video "enhanced" Kindle format, but it's very annoying.

MarcusStringer
07-04-2010, 06:17 PM
Thanks, Mate...

I think that will solve my issues. I will test it out soon

TWiTCommander
07-10-2010, 01:34 AM
Open the ePub file in Sigil (http://code.google.com/p/sigil/).

In the Book Browser on the left, expand the Images folder. Right click on the image that is supposed to be the cover, select Add Semantics and Cover Image. Save and run it through kindlegen again.

Let me know if that doesn't fix things.

Cheers!