05-25-2012, 03:05 PM | #1 |
Enthusiast
Posts: 24
Karma: 11070
Join Date: Nov 2010
Location: On board of our sailboat
Device: Kindle 3W
|
How to edit a Mobi-ebook
Hello,
I sometimes get the neurotic urge to repair the ebook that I'm reading. Like when letters are mutilated in the scanning proces. My Epub files I can edit with Sigil. I am looking for a program that lets me edit Mobi files. Is there such a program? Thanks, Len. |
05-25-2012, 03:13 PM | #2 |
Wizzard
Posts: 11,517
Karma: 33048258
Join Date: Mar 2010
Location: Roundworld
Device: Kindle 2 International, Sony PRS-T1, BlackBerry PlayBook, Acer Iconia
|
Technically, no, you can't edit Mobi files directly.
But you can unpack a Mobi file to HTML + OPF/NCX (or convert it to ePub), make your edits, and then recompile your new and improved Mobi. |
Advert | |
|
05-25-2012, 03:31 PM | #3 |
Treasure Seeker
Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
There is a Calibre plugin called Mobi Unpack that will extract the mobi and you can edit the html file to your liking. I use this all the time.
|
05-26-2012, 02:21 AM | #4 | |
Grand Sorcerer
Posts: 5,895
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
Calibre
Quote:
|
|
05-26-2012, 03:36 AM | #5 |
Enthusiast
Posts: 24
Karma: 11070
Join Date: Nov 2010
Location: On board of our sailboat
Device: Kindle 3W
|
Ok, my thanks for your replies. I'll try the calibre-plugin.
Len. |
Advert | |
|
05-28-2012, 07:17 AM | #6 |
Groupie
Posts: 170
Karma: 1010944
Join Date: Oct 2010
Location: The African bush
Device: Kindle 3
|
There's also a quick and dirty way which even novices can use, though the results are variable:
* Use Calibre to convert the file to .RTF * Edit the file in Microsoft Word just like any normal Word document. Find and replace are perfect and quick for fixing repeated errors (even changing straight to smart quotes, which is more pleasant to read) * Save to .RTF again in Word, then convert back to .MOBI with Calibre. Voila! |
05-28-2012, 08:01 AM | #7 |
Kindle Newbie
Posts: 48
Karma: 362
Join Date: Apr 2012
Device: Kindle 3 & PW
|
Thanks to the suggestions, I converted my mobi to epub, and used Sigil. Works great.
|
05-28-2012, 01:42 PM | #8 | |
Addict
Posts: 202
Karma: 10802
Join Date: Sep 2010
Device: Kindle Paperwhite, iPhone 5, iPad Air, Nexus 7
|
Quote:
However, how do you create TOC with a RTF file? |
|
05-28-2012, 03:42 PM | #9 | |
Treasure Seeker
Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
Quote:
Once you finish editing the html just drag into Calibre and convert back to mobi. This way you get as close to original formatting as possible. You can easily change quotes with Calibre by checking the Smarten Punctuation box and skip that step in Word. It's not necessary. Just be sure to have Smart Tags turned off when editing in Word or it will change addressed to italics and other annoying issues. I mainly use Word to mark chapters and fix broken sentences, formatting and OCR errors. Before the plugin you could convert the mobi to htmlz which is just a zip file you open and find a html file for editing with. It will work but all code will be Calibre's coding with the mobi unpack plugin you are using the original code which makes it easier to edit and find the tags if needing to be edited. Just make sure to leave the html file with the opf and ncx file so when you re import you get all the features and navigation of the original mobi unless you want Calibre to recreate them. With the plugin once you unpack, you will get a folder called Mobi7 and inside will be the html, opf, ncx files and a image folder. Just edit the html file and then drag into the Calibre and it should take everything in the folder and put it in a zip file that you can convert back to mobi and you should be good to go. If you need to be rebuild the TOC be sure to check the Force use of auto-generated table of contents box in Calibre and put the appropriate Xpath expression in the boxes below it. Last edited by Blossom; 05-28-2012 at 03:53 PM. |
|
06-02-2012, 06:15 AM | #10 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2012
Device: Kindle 4
|
Generating a TOC in Word is simple - just make sure that all relevent headings (ie Chapter headings, Acknowledgements, Authors notes etc) are in a heading style (Heading 1 works the best and you can edit it so it is not blue)
When You have done that simply click where you want the TOC to go and go to: References > Table of Contents > Automatic Table 1 and its done! I have used this for all my editing and I have found it works well |
06-02-2012, 12:25 PM | #11 |
Nameless Being
|
As far as TOCs and eBooks go, just hope the eBook was formatted well. I'm not sure about printed books as we never see the files for those, but a LOT of eBooks I've peeked inside of look like they were formatted by idiots. I'm talking about professionally marketed eBooks (ePubs and mobis) marketed by big name publishing houses. You would think these publishers would hire competent technical staff that understand why it is best to format documents in a structured manner, but sadly they don't. If the formatters of the eBook consistently use accepted tags like H1...H6 for headings, then it is fairly easy to generate TOCs. If instead they are inconsistent with the tags, or they use non-tradition tags for headings, then generating the TOC can be problematic depending on which editor you use. I've seen headings made from DIV tags, P tags with various classes assigned, and other non-traditional formatting. Although this formatting might generate the desired formatting results as far as appearance, it typically confuses the editing software.
|
06-02-2012, 03:56 PM | #12 | |
Treasure Seeker
Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
Quote:
|
|
06-02-2012, 04:02 PM | #13 | |
Treasure Seeker
Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
Quote:
|
|
12-06-2012, 12:40 PM | #14 |
Junior Member
Posts: 4
Karma: 10
Join Date: Dec 2012
Device: iPad 1
|
I'm a newbie to this eBook stuff, so please bear with me on the long explanation...
I have a few picture books (with small snppiets of text) I want to publish for all Kindle platforms. I asked a friend who is a programmer to do the coding for me, which he did, and now I want to use his original Mobi file, change the pictures and html where needed and repack everything so I don't have to bother him again for all the books. I came across this thread and tried the Mobi unpack Plugin, and successfully unpacked the mobi file to me designated folder. I get 2 folders (mobi7 and mobi8) and since I want the latest version I looked into mobi8 folder and found the xhtml files and the pictures. So I'm changing these accordingly, and now I need to repack as Mobi, so my question is... HOW CAN I DO THAT??? Again apologies for the long post, but I wanted this to be clear... Thanks in advance guys!! |
12-06-2012, 12:54 PM | #15 | |
Nameless Being
|
Quote:
The *.OPF file is probably located in the OEBPS folder. You can download the Kindle Previewer from here. Last edited by jswinden; 12-06-2012 at 12:57 PM. |
|
Tags |
mobi2mobi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to edit a mobi document | shivram | Kindle Formats | 4 | 05-05-2012 12:06 PM |
Is it possible to edit an ebook? | dorkmania | Workshop | 18 | 08-11-2011 06:39 AM |
Sofware to Edit PDF, Lit, or Mobi? | jangell2 | Calibre | 2 | 04-10-2011 10:49 PM |
Edit ebook titles | Malchik | Sony Reader Dev Corner | 4 | 08-31-2010 01:10 PM |
Best method to edit body of .prc/.mobi files? | Skydog | Kindle Formats | 0 | 12-25-2009 04:29 PM |