Quote:
Originally Posted by Jellby
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.