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, 02: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, 03: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,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
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
Advert
Old 02-18-2012, 03: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, 04: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,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
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, 05: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
Advert
Old 02-18-2012, 08: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,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
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:	192
Size:	189.5 KB
ID:	82730  

Last edited by wallcraft; 02-18-2012 at 09:02 PM. Reason: changed image
wallcraft is offline   Reply With Quote
Old 02-19-2012, 09: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:	174
Size:	352.0 KB
ID:	82744
kjkw is offline   Reply With Quote
Old 02-19-2012, 10: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,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
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, 11:07 AM   #24
KevinH
Sigil Developer
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: 7,627
Karma: 5433388
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:

https://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, 11:44 AM   #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 11:38 AM
Conversion for the Kindle Fire Problem camogirl48 Conversion 7 12-08-2011 10:28 PM
Kindle Fire for document creation and editing? carld Kindle Fire 11 10-04-2011 11:38 PM
word document conversion kairos Amazon Kindle 7 07-16-2010 12:15 PM
How to convert a Word document into a Kindle document? PS Kindle Kindle Developer's Corner 2 12-08-2009 08:40 PM


All times are GMT -4. The time now is 11:51 PM.


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