View Single Post
Old 06-02-2013, 11:02 AM   #2
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Quote:
Originally Posted by lex1000 View Post
Hi I'm new to creating mobi files so this could be a bit of a gumbie question.

I've created a test book, used kindlegen to generate a mobi file and sent the file to my kindle paperwhite using email.

The book itself all looks as expected, but the book in the index page has no thumbnail. Instead it just has a kindle holder with the title in.

I know that amazon add the image separately if you sell a book through their site, but I also want be able to source the mobi file on my own site. I've uploaded other books to my kindle by emailing the mobi file and they do have a thumbnail, so it's something I'm missing.

My opf file looks like this:

Code:
<?xml version="1.0" encoding='UTF-8'?>
<package xmlns="http://www.idpf.org/2007/opf"
   unique-identifier="bookid" version="2.0">

   <metadata xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:opf="http://www.idpf.org/2007/opf">
      <meta name="cover" content="the_cover" />
      <dc-metadata xmlns:dc="http://purl.org/metadata/dublin_core" xmlns:oebpackage="http://openbook.org/namespaces/oeb-package/1.0/">
          <dc:title>My Fantastic First eBook</dc:title>
          <dc:identifier id="bookid">my_first_mobi</dc:identifier>
          <dc:language>en</dc:language>
      </dc-metadata>
   </metadata>

   <manifest>
      <item id="ncx" href="toc.ncx" media-type="application/xhtml+xml" />
      <item id="the_cover" href="cover.jpg" media-type="image/jpeg" />
      <item id="title_pg" href="title.html" media-type="application/xhtml+xml" />
      <item id="part1" href="chapter1.html" media-type="application/xhtml+xml" />
      <item id="part2" href="chapter2.html" media-type="application/xhtml+xml" />
      <item id="my_css" href="mybook.css" media-type="text/css" />
   </manifest>
   
   <spine toc="ncx">
      <itemref idref="title_pg" />
      <itemref idref="part1" />
      <itemref idref="part2" />
   </spine>

   <guide>
      <reference type="toc" title="Table of Contents"
         href="toc.html" />
   </guide>

</package>
The output from kindlegen Looks like this:

Code:
*************************************************************
 Amazon kindlegen(Linux) V2.8 build 0208-797bf75 
 A command line e-book compiler 
 Copyright Amazon.com and its Affiliates 2013 
*************************************************************

Info(prcgen):I1047: Added metadata dc:Title        "My Fantastic First eBook"
Info(prcgen):I1002: Parsing files  0000004
Info(prcgen):I1016: Building enhanced PRC file
Info(prcgen):I1006: Resolving hyperlinks
Info(prcgen):I1007: Resolving mediaidlinks
Info(prcgen):I1011: Writing mediaidlinks
Info(prcgen):I1009: Resolving guide items
Info(prcgen):I1008: Resolving start reading location
Info(prcgen):I1049: Building table of content     URL: /home/lex/Dropbox/mobi_test_book/toc.ncx
Info(prcgen):I1015: Building PRC file
Warning(prcgen):W14001: Hyperlink not resolved:  /home/lex/Dropbox/mobi_test_book/toc.html
Warning(prcgen):W14002: Some hyperlinks could not be resolved.
Warning(prcgen):W14019: Cover is too small :   /home/lex/Dropbox/mobi_test_book/cover.jpg
Info(pagemap):I8000: No Page map found in the book
Info(prcgen):I1045: Computing UNICODE ranges used in the book
Info(prcgen):I1046: Found UNICODE range: Basic Latin [20..7E]
Info(prcgen):I1017: Building PRC file, record count:   0000001
Info(prcgen):I1039: Final stats - text compressed to (in % of original size):  43.69%
Info(prcgen):I1040: The document identifier is: "My_Fantastic_First_eBook"
Info(prcgen):I1041: The file format version is V6
Info(prcgen):I1031: Saving PRC file
Info(prcgen):I1033: PRC built with WARNINGS!
Warning(index build):W15010: This index is empty and has been skipped.
Info(prcgen):I1039: Final stats - text compressed to (in % of original size):  45.85%
Info(prcgen):I1041: The file format version is V8
Info(prcgen):I15000:  Approximate Standard Mobi Deliverable file size :   0000032KB
Info(prcgen):I15001:  Approximate KF8 Deliverable file size :   0000033KB
Info(prcgen):I1037: Mobi file built with WARNINGS!
And a zip directory can be found here:
http://www.filedropper.com/mobitestbook

Can anybody point me in the right direction.

Thanks.
In the same boat

Maybe could you test my klingon ebook, with potential solution as referred in post #64 of this thread and see the additional thumbnail metadata I added to the opf.
PoP is offline   Reply With Quote