View Single Post
Old 01-20-2013, 05:18 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,317
Karma: 36126080
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
Quote:
Originally Posted by Jellby View Post
Is there no other way to download a book from the net (from the MR library, for example) and have it in the library? If converting and adding the [EBOK] tag is really needed, is it possible to do that without calibre and without modifying anything else in the book?
The mobi2mobi tool (part of Mobiperl) can still handle modifying the EXTH records of plain-jane MOBI files without altering the rest of the book.

If the mobi already has the 501 EXTH record then:
Code:
mobi2mobi --outfile new_book.mobi --exthtype 501 --exthdata EBOK book.mobi
Should be enough.

If it doesn't have the 501 EXTH record then:
Code:
mobi2mobi --outfile new_book.mobi --addexthtype 501 --exthdata EBOK book.mobi
Some newer MOBIs don't always seem to have a Palmdoc database name for some reason and that would need to be fixed first:
Code:
mobi2mobi --outfile new_book.mobi --databasename BOOKNAME book.mobi
You could also read/write the same file if you have good backups.

Last edited by DiapDealer; 01-20-2013 at 05:20 PM.
DiapDealer is offline   Reply With Quote