View Single Post
Old 03-07-2008, 12:10 AM   #407
Nick31
Junior Member
Nick31 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2008
Device: Palm
Question Very Nice Tools - Thanks!

I downloaded the MobiPerl tools today (version 0.0.36) and after a bit of playing around, got it to work with my 5.10 install of ActivePerl. Finding the Palm modules to install was the only difficult part, for those I had to use CPAN and compile them myself. In any case, mobi2mobi is working fine, and I expect to have no problem writing a quick perl script to wrap around this so I can convert the many .prc files I have into .mobi ones.


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)?


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"
Thanks again for putting the MobiPerl scripts together, they're very well done!
Nick31 is offline   Reply With Quote