|
|
#121 |
|
Member
![]() Posts: 18
Karma: 10
Join Date: Dec 2010
Device: Kindle
|
|
|
|
|
|
|
#122 | |
|
The Grand Mouse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,906
Karma: 74252384
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle 2; iPhone 3G; Bookeen Opus; NOOK ST GlowLight
|
Quote:
The opf from mobiunpack does not include the cover image in the manifest, but it does include it in the EmbeddedCover tag. As far as I know, the cover image shouldn't be necessary in the manifest. In opf files for Mobpocket Creator it wasn't needed, and I think caused problems if it was there. Similarly images linked from the html weren't included in the manifest (& aren't included in the manifest by mobiunpack). Since it works fine with Kindlegen 1.2, and we're trying to create input for Kindlegen, not valid ePub source, I don't intend changing this behaviour. You are free to do so yourself, of course. [I see you're sorted. Message Lag.]
__________________
Kai Lung Raises His Voice, now available at Amazon and BooksOnBoard A new collection of ‘Kai Lung’ stories by Ernest Bramah, including four previously unpublished stories. Books I've read in 2013, 2012, 2011, 2010 Last edited by pdurrant; 08-20-2011 at 07:05 AM. Reason: message lag |
|
|
|
|
|
Enthusiast
|
|
|
|
#123 | |
|
Member
![]() Posts: 18
Karma: 10
Join Date: Dec 2010
Device: Kindle
|
Quote:
|
|
|
|
|
|
|
#124 |
|
The Grand Mouse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,906
Karma: 74252384
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle 2; iPhone 3G; Bookeen Opus; NOOK ST GlowLight
|
I've no idea how kindlegen does mp3 files. I rather doubt that the decoder will output them sensibly. If you have a sample Kindle file with an MP3 in it, it might be interesting to take a look at it.
__________________
Kai Lung Raises His Voice, now available at Amazon and BooksOnBoard A new collection of ‘Kai Lung’ stories by Ernest Bramah, including four previously unpublished stories. Books I've read in 2013, 2012, 2011, 2010 |
|
|
|
|
|
#125 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,064
Karma: 1895158
Join Date: Apr 2009
Location: USA
Device: iPod Touch, Nook STR, Xoom, Kindle Touch, PW & Fire, Sony PRS-T1, iPad
|
Quote:
Kindle's mp3 support is limited to background playing, or (if in audible folder) using the audiobook player. My guess is that decoder will not extract audio/video files, but I haven't played with that. Let us know what you discover. |
|
|
|
|
|
|
#126 |
|
The Grand Mouse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,906
Karma: 74252384
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle 2; iPhone 3G; Bookeen Opus; NOOK ST GlowLight
|
I've just uploaded version 31 to my post near the start of this thread.
This has no changes for Kindle/Mobipocket ebooks, but adds initial support for Kindle/Print Replica ebooks, outputting a PDF file, and also several mysterious data sections. The sample Print Replica ebook I have contains only one PDF. It seems from the data stored that it's possible to have more than one PDF stored in a Print Replica ebook. I have tried to guess how this will work, but it's entirely possible that I've guessed wrong, and that the code will need tweaking once someone comes across such an ebook. As with Kindle/Mobipocket books, this script only works on non-DRM Print Replica ebooks, which at the moment seems to be only the samples that can be downloaded from Amazon. Feedback very welcome indeed.
__________________
Kai Lung Raises His Voice, now available at Amazon and BooksOnBoard A new collection of ‘Kai Lung’ stories by Ernest Bramah, including four previously unpublished stories. Books I've read in 2013, 2012, 2011, 2010 |
|
|
|
|
|
#127 |
|
The Grand Mouse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,906
Karma: 74252384
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle 2; iPhone 3G; Bookeen Opus; NOOK ST GlowLight
|
There was a typo that caused it to reject .azw4 file extensions. Now fixed, but version number not incremented.
__________________
Kai Lung Raises His Voice, now available at Amazon and BooksOnBoard A new collection of ‘Kai Lung’ stories by Ernest Bramah, including four previously unpublished stories. Books I've read in 2013, 2012, 2011, 2010 |
|
|
|
|
|
#128 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,793
Karma: 3644259
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
|
Great job, there is an AZW4 wiki page now if you want to document anything.
Dale
__________________
Dale DePriest http://pages.suddenlink.net/dalede or http://daledepriest.wikispaces.com currently using an EZ Reader or a Literati or my iPad. |
|
|
|
|
|
#129 |
|
The Grand Mouse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,906
Karma: 74252384
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle 2; iPhone 3G; Bookeen Opus; NOOK ST GlowLight
|
Thanks. I've added in what I know, which isn't much. Just enough to know how much I don't know!
__________________
Kai Lung Raises His Voice, now available at Amazon and BooksOnBoard A new collection of ‘Kai Lung’ stories by Ernest Bramah, including four previously unpublished stories. Books I've read in 2013, 2012, 2011, 2010 |
|
|
|
|
|
#130 |
|
The Grand Mouse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,906
Karma: 74252384
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle 2; iPhone 3G; Bookeen Opus; NOOK ST GlowLight
|
I've now updated the Mobipocket Updater AppleScript to handle .azw4 (Print Replica) ebooks as well.
__________________
Kai Lung Raises His Voice, now available at Amazon and BooksOnBoard A new collection of ‘Kai Lung’ stories by Ernest Bramah, including four previously unpublished stories. Books I've read in 2013, 2012, 2011, 2010 |
|
|
|
|
|
#131 |
|
Member
![]() Posts: 18
Karma: 10
Join Date: Dec 2010
Device: Kindle
|
What about .ncx files? Seems mobiunpack doesn't generate one, even if one was using during creation of the book?
|
|
|
|
|
|
#132 | |
|
The Grand Mouse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,906
Karma: 74252384
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle 2; iPhone 3G; Bookeen Opus; NOOK ST GlowLight
|
Quote:
All that's necessary is for someone to spend the time to work out where and in what format it's stored, document that, and then for someone to take that info and write code to decode the info and create an ncx file from it. Good luck!
__________________
Kai Lung Raises His Voice, now available at Amazon and BooksOnBoard A new collection of ‘Kai Lung’ stories by Ernest Bramah, including four previously unpublished stories. Books I've read in 2013, 2012, 2011, 2010 |
|
|
|
|
|
|
#133 |
|
Member
![]() Posts: 18
Karma: 10
Join Date: Dec 2010
Device: Kindle
|
So mobiunpack actually creates this kindlegensrc.zip file somewhere along the line. I just found a (slightly tweaked) version of my .ncx file in there, in the "misc" directory. The tweaks are a reflection of the directory structure.
So it looks like the changes necessary would be threefold: 1) extract the .ncx file out of the kindlegensrc.zip and place it is a (newly created) misc directory, alongside the Images directory 2) reference the .ncx file in the <manifest> tag of the .opf file. 3) add a toc="toc" attribute to the <spine> tag of the .opf file. I haven't looked at the source for mobiunpack, to know how hard or easy this would be, nor do I know what sort of source control is being used, or where it is located. |
|
|
|
|
|
#134 | |
|
The Grand Mouse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,906
Karma: 74252384
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle 2; iPhone 3G; Bookeen Opus; NOOK ST GlowLight
|
Quote:
Perhaps MobiUnpack should be tweaked to also export any unknown binary data in the original file. Hmm...
__________________
Kai Lung Raises His Voice, now available at Amazon and BooksOnBoard A new collection of ‘Kai Lung’ stories by Ernest Bramah, including four previously unpublished stories. Books I've read in 2013, 2012, 2011, 2010 |
|
|
|
|
|
|
#135 |
|
Member
![]() Posts: 18
Karma: 10
Join Date: Dec 2010
Device: Kindle
|
A little more info: the <manifest> tag should probably look like:
<item href="misc/toc.ncx" id="toc" media-type="application/x-dtbncx+xml" /> but with the file name possibly different in different cases, based on the actual .ncx file name found? But here's something I don't understand: there is also a content.opf in the kindlegensrc.zip file, but it doesn't seem to match the one generated by mobiunpack. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can i rotate text and insert images in Mobi and EPUB? | JanGLi | Mobi | 5 | 02-02-2013 04:16 PM |
| PDF to Mobi with text and images | pocketsprocket | Mobi | 7 | 05-21-2012 07:06 AM |
| Mobi files - images | DWC | Introduce Yourself | 5 | 07-06-2011 01:43 AM |
| pdf to mobi... creating images rather than text | Dumhed | Calibre | 5 | 11-06-2010 12:08 PM |
| Transfer of images on text files | anirudh215 | 2 | 06-22-2009 09:28 AM | |