Quote:
Originally Posted by Nick31
The first question I have (and this may have been answered elsewhere) is about getting the cover images to display in my converted .mobi files. mobi2mobi identifies the images and sets the offsets fine, but MobiPocket Reader doesn't show the covers. Is the problem that the images in the .prc files are bitmaps and not .jpeg images? Is there a way to get this to work (other than manually extracting each one from the many ebooks I have, converting the image, and then rebuilding the ebook)?
|
If you set the cover image offset correctly and the thumbnail offset then as I remember MobiPocket reader will display the images in "library" mode. But I do not think the image is displayed in the book if you do not have a link to the image in the actual book. But I might be mistaken since it was a couple of months ago I wrote and tested that code.
Quote:
Originally Posted by Nick31
The other question involves using the --exthtype and --exthdata options. Is the type the number or the keyword? For example, the data from a newer .mobi shows:
EXTH item: 100 - Author - 11 - Wen Spencer
EXTH item: 101 - Publisher - 10 - Baen Books
What options would set the publisher?
Code:
--exthtype 101 --exthdata "Baen Books"
or
Code:
--exthtype Publisher --exthdata "Baen Books"
|
There is a bug in one file concerning publisher. If you search for pubisher and then replace that with publisher then the flag --publisher will work. This fix will be in the next release.
--exthtype and --exthdata was added to be able to experiment if you knew what you do. It is the type name you have to use and for "Publisher" you should use "publisher". You have to look in MobiPerl/EXTH.pm and in the hash %typename_to_type to see what name to use.
Pleae tell me if you want to set something that is missing. The intention was to add specific flags for everything that people wanted to set.