View Full Version : Mobiperl Correcting typos in a mobi file


Jellby
07-16-2008, 07:29 AM
Hi all,

Sometimes the mobipocket files one downloads are not perfect, they contain typos or mistakes (sometimes just a curled apostrophe facing the wrong way or something like that). I would like to be able to correct that but, at the same time, keep all the metadata and additional formatting the eBook might have, such as cover image, thumbnail, guide items, etc.

So, the thing is, can I do this with mobiperl? I could run mobi2html, modify the html and then html2mobi, but how would I ensure that all the extra information is not altered?

tompe
07-16-2008, 09:11 AM
Sometimes the mobipocket files one downloads are not perfect, they contain typos or mistakes (sometimes just a curled apostrophe facing the wrong way or something like that). I would like to be able to correct that but, at the same time, keep all the metadata and additional formatting the eBook might have, such as cover image, thumbnail, guide items, etc.

So, the thing is, can I do this with mobiperl? I could run mobi2html, modify the html and then html2mobi, but how would I ensure that all the extra information is not altered?

I do not think this is easily possible with MobiPerl now (I added a ticket for it but I will probably not have time to work on MobiPerl until September...). What you can do now is run mobi2mobi to get the Meta information and then give the correct flags to html2mobi. Maybe this is what the GUI do so maybe the Windows GUI do nearly what you want to do.