Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-18-2012, 03:17 PM   #16
kjkw
Ken
kjkw began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2012
Location: USA
Device: Kindle Fire
After doing a mobi to mobi conversion with [PDOC] in the Tags field of the Edit Metadata screen and also in the Personal Doc Tag field of the MOBI Output screen, I saved the book using 'Save to disk'. When I open the file in a text editor, both [PDOC] and EBOK appear in the header ...

Charles Darwin i [PDOC] j !0101-01-01 00:00:00-05:00 l 3calibre (0.8.28) [http://calibre-ebook.com] q ,ebaa26be-373c-4848-ab81-9e36d7da7b06 t m ╔  ╩  ╦ ╠ ╔ ═  ╬  ¤ ‚ § EBOK ¸ The Voyage of the Beagle The Voyage of the Beagle

Some of the characters have been altered by pasting them here.
kjkw is offline   Reply With Quote
Old 02-18-2012, 04:32 PM   #17
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Quote:
Originally Posted by kjkw View Post
When I open the file in a text editor, both [PDOC] and EBOK appear in the header ...
Using a header printer, like mobi2mobi, would be more definative - but this does look like the output has EBOK (not PDOC) set. When I use an editor on my "save to disk" ebooks, the ones with PDOC set only show [PDOC] and PDOC (not EBOK). On the other hand, 0.8.28 is pretty old so try upgrading to the latest 0.8.40.
wallcraft is offline   Reply With Quote
Old 02-18-2012, 04:48 PM   #18
kjkw
Ken
kjkw began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2012
Location: USA
Device: Kindle Fire
How might I manually edit the header to replace EBOK with PDOC? I tried doing it in the text editor, but that made the book unopenable.
kjkw is offline   Reply With Quote
Old 02-18-2012, 05:02 PM   #19
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Quote:
Originally Posted by kjkw View Post
How might I manually edit the header to replace EBOK with PDOC? I tried doing it in the text editor, but that made the book unopenable.
If you are on a Windows PC, your best option is Kindle Mobi2Mobi GUI Vista/XP. You want to change EXTH 501 to PDOC. Deleting EXTH 501 completely (another option to the GUI) would probably also work.
wallcraft is offline   Reply With Quote
Old 02-18-2012, 06:22 PM   #20
kjkw
Ken
kjkw began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2012
Location: USA
Device: Kindle Fire
Thanks. Got it. Ran it. Here's what it shows me, but the text editor still shows that it contains EBOK . . .

Database Name: The_Voyage_of_the_Beagle
Version: 0
Type: BOOK
Creator: MOBI
Seed: 1037
Resdb:
AppInfoDirty:
ctime: -753242554 - Sun Jan 0 00:00:00 1900
mtime: -753242554 - Sun Jan 0 00:00:00 1900
baktime: -2082844800 - Sun Jan 0 00:00:00 1900
---------------------------------------------------
FIRST IMG Record Id: 812
WARNING: Record 832 - Image data size might be too large: 65355
---------------------------------------------------
Image record index: 406 (322 x 239)
START IMAGE INDEX: 406
COVER IMAGE INDEX: 406
PDHEADER Version: 2
PDHEADER Length: 1639727
PDHEADER NRecords: 401
PDHEADER Recsize: 4096
PDHEADER Unknown: 0
MOBIHEADER ciflg: 1
MOBIHEADER ciptr: 515
MOBIHEADER doctype: MOBI
MOBIHEADER length: 232
MOBIHEADER booktype: 2 - BOOK
MOBIHEADER codep: 65001
MOBIHEADER uniqid: 2091489388
MOBIHEADER ver: 6
MOBIHEADER exthflg: 80
MOBIHEADER language: 9 - 9 - 0 - ENGLISH -
COVEROFFSET: 56
THUMBOFFSET: 57
EXTH doctype: EXTH
EXTH length: 316
EXTH n_items: 15
EXTH item: 100 - Author - 14 - Charles Darwin
EXTH item: 105 - Subject - 6 - [PDOC]
EXTH item: 106 - PublishingDate - 25 - 2003-02-01 00:00:00-05:00
EXTH item: 108 - Contributor - 43 - calibre (0.8.28) [http://calibre-ebook.com]
EXTH item: 113 - ASIN - 36 - bc801225-f761-45c7-8e9d-25328648d231
EXTH item: 116 - StartReading - 4 -
kjkw is offline   Reply With Quote
Old 02-18-2012, 09:59 PM   #21
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Quote:
Originally Posted by kjkw View Post
Thanks. Got it. Ran it. Here's what it shows me, but the text editor still shows that it contains EBOK . . .
The display of EXTH entries is truncated, there are 15 entries but only 6 are shown. I get the same thing, but if you select EXTH 501 -> PDOC -> tick mark (see screendump) and then Convert the type will be changed from EBOK to PDOC.
Attached Thumbnails
Click image for larger version

Name:	Mobi2Mobi_501.jpg
Views:	44
Size:	189.5 KB
ID:	82730  

Last edited by wallcraft; 02-18-2012 at 10:02 PM. Reason: changed image
wallcraft is offline   Reply With Quote
Old 02-19-2012, 10:24 AM   #22
kjkw
Ken
kjkw began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2012
Location: USA
Device: Kindle Fire
My Mobi2Mobi EXTH options don't seem to include that. See below ...

Click image for larger version

Name:	Mobi2Mobi.jpg
Views:	49
Size:	352.0 KB
ID:	82744
kjkw is offline   Reply With Quote
Old 02-19-2012, 11:39 AM   #23
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Quote:
Originally Posted by kjkw View Post
My Mobi2Mobi EXTH options don't seem to include that.
What you want is cdetype.
wallcraft is offline   Reply With Quote
Old 02-19-2012, 12:07 PM   #24
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 1,077
Karma: 444444
Join Date: Nov 2009
Device: many
Hi,

Be aware that the new KF8 mobi ebooks as generated by the latest Kindlegen can have two different mobi headers and two different EXTH metadata regions all within the same file. So you may end up editing the exth of the old mobi version 6 part, which will be ignored on the Kindle Fire in favour of the second mobi 8 version which will have its own metadata.

You can play with the DumpMobiHeader.py program to see all of the metadata and see if you have one of those new dual KF8 ebooks.

Here is the link in case you want to try it:

http://www.mobileread.com/forums/sho...63&postcount=8

This program could be easily extended to properly change/ write any EXTH in either or both headers if that would prove useful to anyone.

KevinH
KevinH is offline   Reply With Quote
Old 02-19-2012, 12:44 PM   #25
kjkw
Ken
kjkw began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2012
Location: USA
Device: Kindle Fire
Quote:
Originally Posted by wallcraft View Post
What you want is cdetype.
Thanks. That seems to have done it. The book now appears on the Fire's documents shelf and the header info which was previously copied from the text editor as ...

Charles Darwin i [PDOC] j !0101-01-01 00:00:00-05:00 l 3calibre (0.8.28) [http://calibre-ebook.com] q ,ebaa26be-373c-4848-ab81-9e36d7da7b06 t m ╔  ╩  ╦ ╠ ╔ ═  ╬  ¤ é § EBOK ¸ The Voyage of the Beagle The Voyage of the Beagle

Is now copied as ...

Charles Darwin i [PDOC] j !2003-02-01 00:00:00-05:00 l 3calibre (0.8.28) [http://calibre-ebook.com] q ,bc801225-f761-45c7-8e9d-25328648d231 t m ╔ 8 ╩ 9 ╦ ╠ ╔ ═  ╬  ¤ é § PDOC ¸ The Voyage of the Beagle o PDOC The Voyage of the Beagle

... with two PDOC tags, one of which replaced the EBOK tag.
kjkw is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle Fire: formatting and conversion quandary Derek R Calibre 2 02-17-2012 12:38 PM
Conversion for the Kindle Fire Problem camogirl48 Conversion 7 12-08-2011 11:28 PM
Kindle Fire for document creation and editing? carld Kindle Fire 11 10-05-2011 12:38 AM
word document conversion kairos Amazon Kindle 7 07-16-2010 01:15 PM
How to convert a Word document into a Kindle document? PS Kindle Kindle Developer's Corner 2 12-08-2009 09:40 PM


All times are GMT -4. The time now is 02:05 AM.


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