01-07-2009, 09:05 AM | #31 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
01-07-2009, 09:50 AM | #32 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Most Feedbooks.com Mobipocket/Kindle offerings have this problem (as they usually are UTF-8 encoded). For example, see The Ant King and Other Stories ebook (.mobi). The extracted files/results of Mobi2IMP are included in the .zip below. The below .txt file shows the dos window output of Mobi2IMP. In particular, look at the section following: Code:
Adding name attributes FIXED 3: 0000026250 (6) - Wasn't an anchor: reak/><a I've always seen this behaviour with Feedbooks.com .prc/.mobi ebooks. |
|
01-07-2009, 10:36 AM | #33 |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
|
01-07-2009, 11:21 AM | #34 |
The Grand Mouse 高貴的老鼠
Posts: 71,491
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
I think these must be the bytes that were messing up the first version of the Mobipocket decoder, and that the second version tried to fix without really understanding them. (The fifth version seems to handle them correctly, although I still haven't followed exactly what's going on here.)
It would be very nice to get the controlling bits and format of the trailing bytes set out clearing in the wiki... |
01-07-2009, 11:55 AM | #35 | |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
I've got a whole ream of stuff I figured out writing oeb2mobi that I need to add to the wiki... The effect of bit 1 of extra data flags, the format of "uncrossable" boundary records, the format of the FCIS record, and the format of the index records (although I'm still working on that...). |
|
01-07-2009, 12:06 PM | #36 |
creator of calibre
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
01-07-2009, 01:59 PM | #37 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
|
01-07-2009, 02:30 PM | #39 |
Wizard
Posts: 2,366
Karma: 12000
Join Date: Jan 2008
Location: Texas, USA
Device: Kindle; Sony PRS 505; Blackberry 8700C
|
in the Kindle
You may already know how this displays in the Kindle, but here are some scans of the screen. (Kindle's screenshot function wasn't working; not sure why.) I scanned @ 300dpi, then reduced the image, exported to JPG with 15% optimization, so the fuzziness is due to the scanning, not the screen itself.
On two of the images, I circled a portion of the author field that doesn't display properly. Also, I really like the way the chapters begin 1/2 way down the page & hope to get your CSS so I can apply it to the books I'm making. |
01-07-2009, 02:59 PM | #40 | ||
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
Quote:
Heh. I think that's actually a bug. It's supposed to be only 5 or so lines down, and shows up that way in Mobipocket Desktop. I'm actually hoping I've fixed when I post another build of the file . But if that's what you want, you should be able to achieve the effect with a 'margin-top: 50%' property on your chapter headers. |
||
01-07-2009, 03:04 PM | #41 | ||
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Alexandre Dumas, pè;re (considering that the è entity is not decoded, it has a semiocolon then) is parsed as: First author: pè (first name) Alexandre Dumas (last name) Second author: re (last name) Quote:
|
||
01-07-2009, 03:18 PM | #42 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
|
01-07-2009, 04:56 PM | #43 | ||
Wizard
Posts: 2,366
Karma: 12000
Join Date: Jan 2008
Location: Texas, USA
Device: Kindle; Sony PRS 505; Blackberry 8700C
|
Quote:
Quote:
|
||
01-07-2009, 05:19 PM | #44 | |
The Grand Mouse 高貴的老鼠
Posts: 71,491
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Oh - thank you. Do you have a sample file with bit one set? It looks to me like the mobipocket decoder will need adjustment to cope with such files.
Quote:
|
|
01-07-2009, 05:39 PM | #45 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
I thought that the unpacking of the record was totally independent on the character set used. Right or wrong? |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LRF output | kovidgoyal | Calibre | 873 | 04-06-2010 02:32 PM |
Trying to get consistent look to all output | daveps | Calibre | 0 | 03-08-2010 02:18 PM |
Best Output for Kindle 2 | brewjono | Calibre | 4 | 01-28-2010 08:55 PM |
PRC output | Nate the great | Calibre | 6 | 10-17-2009 12:58 AM |
One last oeb2mobi test... | llasram | Kindle Formats | 13 | 01-15-2009 11:20 AM |