Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 03-31-2014, 12:14 AM   #1
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 101
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
What should be in a MOBI file?

This a bit of an odd question, but my experience of MOBI is a bit limited and I wasn’t 100% sure if this file was as strange as it seems.

From the quality of their ePUB, I’m guessing that this new publisher doesn’t quite know what he’s doing, but anyway here’s what’s Calibre’s KindleUpack gives me...

\mobi7\
\mobi8\
kindlegenbuild.log
kindlegensrc.zip

Is it normal to include this source file in the MOBI? It’s 4MB of the files’ ~5MB.

The ePUB edition is ~3.5MB because it has a huge resolution cover (3.2MB vs. 111KB in MOBI edition). There doesn’t seem to be a very coherent strategy here.
seanos is offline   Reply With Quote
Old 03-31-2014, 04:11 AM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by seanos View Post
Is it normal to include this source file in the MOBI? It’s 4MB of the files’ ~5MB.
It's not normal to include the source files in .mobi intended for end users, but OK for KDP, because Amazon will strip the source files from the .mobi and deliver either the mobi7 or mobi8 content to the end user.
It the publisher intends to distribute the .mobi file though their own website, they should offer mobi7 and mobi8 files for download.
Doitsu is offline   Reply With Quote
Advert
Old 03-31-2014, 11:19 AM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
For this reason, the devs here have developed this tool:

(sticky thread) Kindlestrip Python script and AppleScript wrapper
eschwartz is offline   Reply With Quote
Old 03-31-2014, 03:01 PM   #4
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by eschwartz View Post
For this reason, the devs here have developed this tool:

(sticky thread) Kindlestrip Python script and AppleScript wrapper
This is the answer but you need to ask the right question. What you saw was the standard output from KindlePreviewer or KindleGen. When they create a file it contains the source and two different versions of the compiled file assembled in a special way so that a regular Amazon reading product can read it directly. A reading product that can only read KF7 formatted files will only find the KF7 portion of the file and KF8 capable readers will find the new format and use it. Yes, the file is 3 times as big or more than it should be. As mentioned the above tool will split it very much like Calibre did and it can even be disassembled to reveal a rebuilt source look alike (although files names will not be recovered). Read about all of this in our wiki.

The full file is submittable to Amazon but they will reformat it for delivery to the final user. There is another format possible from KindlePreviewer and this is called AZK which is specific for iOS devices. It is also covered in the wiki.

Dale
DaleDe is offline   Reply With Quote
Old 03-31-2014, 10:09 PM   #5
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 101
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
Thanks for the enlightenment. I suspected it was something along those lines, but what I was really trying to gauge was whether the publisher knew what he was doing.

So, e-mailing that file (since his web purchasing wasn’t working), although a little odd, was probably an OK thing to do as far as compatibility goes. Now that I’ve started re-editing his ePUB version though, I’ve also noticed bad formatting in the MOBI too like multiple blank lines in the TOC. The ePUB has no TOC by the way.

I find this rather sad in itself, but I also know the author and feel like his work is not being respected.
seanos is offline   Reply With Quote
Advert
Old 04-01-2014, 06:05 PM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,551
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by seanos View Post
since his web purchasing wasn’t working
Quote:
Originally Posted by seanos View Post
I find this rather sad in itself, but I also know the author and feel like his work is not being respected.
Make sure your author friend knows that technically/legally, if his publisher is creating his ebook with Amazon's conversion tools (Kindlegen, Kindle Previewer), then it can't be sold anywhere BUT on Amazon. Free distribution is fine, but if it's going to be sold at an independent vendor/website, that's in violation of the terms for using the software.

I have no idea how aggressive they are at policing that sort of thing (if they do at all), but it's best to know the details up front. "Better safe than sorry" and all that jazz.
DiapDealer is offline   Reply With Quote
Old 04-01-2014, 07:42 PM   #7
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 101
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
The publisher does have his Amazon Store iframed into his site so I’m guessing the e-mailing business was just because he hadn’t got it uploaded to Amazon when he was offering a pre-order. He had to e-mail me my ePUB too.

Another oddity of the e-mailed file is that the mobi8 folder contains an ePUB, different to the one I got, (whole and extracted). Is that normal? Or does it just mean that an ePUB version was used as the source?
seanos is offline   Reply With Quote
Old 04-01-2014, 08:09 PM   #8
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,551
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by seanos View Post
The publisher does have his Amazon Store iframed into his site so I’m guessing the e-mailing business was just because he hadn’t got it uploaded to Amazon when he was offering a pre-order. He had to e-mail me my ePUB too.

Another oddity of the e-mailed file is that the mobi8 folder contains an ePUB, different to the one I got, (whole and extracted). Is that normal? Or does it just mean that an ePUB version was used as the source?
KindleUnpack creates that epub during the unpacking process. Unnecessary in this case since the original source archive was included. But most end-users don't get their hands on the raw kindlegen output package that you have.

Technically you don't even have to unpack the file to get at the source archive. Most archiving software will be able to open/extract the zipfile that's appended to the .mobi directly.

The ePub in the zipfile is the "original." The one in the mobi8 folder is KindleUnpack's best guess at what that original might have looked like (because it's not usually included). Filenames, for instance, are lost in the compilation process.
DiapDealer is offline   Reply With Quote
Old 04-01-2014, 09:03 PM   #9
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 101
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
Thanks for explaining that...I was a little unsure where the dividing line between content and reconstruction was.
seanos is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
18MB EPUB converts to 40MB Mobi! What can I do to reduce Mobi file size? perdman Conversion 11 12-09-2017 04:18 AM
Search & Replace on only mobi half of a mobi/k8 combined file EliW Conversion 0 05-03-2013 11:50 PM
Unpacking a .mobi file holdit Kindle Formats 6 01-14-2013 01:08 PM
Update Mobi header/file metadata without doing a Mobi to Mobi conversion RecQuery Conversion 2 06-30-2012 11:43 AM
I want to merge short mobi book files into a mega mobi file vugtitan Conversion 5 12-25-2011 11:04 AM


All times are GMT -4. The time now is 12:55 PM.


MobileRead.com is a privately owned, operated and funded community.