Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 05-25-2012, 04:05 PM   #1
Len666
Enthusiast
Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.
 
Len666's Avatar
 
Posts: 25
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.
Len666 is offline   Reply With Quote
Old 05-25-2012, 04:13 PM   #2
ATDrake
Wizzard
ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.
 
Posts: 7,299
Karma: 20073194
Join Date: Mar 2010
Location: Roundworld
Device: Kindle 2 International & Sony PRS-T1 & BlackBerry PlayBook
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.
ATDrake is online now   Reply With Quote
Old 05-25-2012, 04:31 PM   #3
Blossom
Wrapped up in Christmas
Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.
 
Blossom's Avatar
 
Posts: 12,490
Karma: 8218906
Join Date: Mar 2010
Location: Raleigh, NC
Device: 4 Kindles, 2 Kindle Fires, 2 SGPs, Nexus 7 and Fire Phone
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.
Blossom is offline   Reply With Quote
Old 05-26-2012, 03:21 AM   #4
alansplace
Wizard
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 4,064
Karma: 47478306
Join Date: Feb 2010
Location: USA, 33.938556° N, -117.271334° W
Device: Kindles 2, KB, PW 1, PW 2, Voyage, & Fire 2 -- iPad mini
Cool Calibre

Quote:
Originally Posted by Len666 View Post
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.
Convert it to EPUB with Calibre then you can edit the Epub with Sigil and convert it back when you're done.
alansplace is offline   Reply With Quote
Old 05-26-2012, 04:36 AM   #5
Len666
Enthusiast
Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.Len666 can tame squirrels without the assistance of a chair or a whip.
 
Len666's Avatar
 
Posts: 25
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.
Len666 is offline   Reply With Quote
Old 05-28-2012, 08:17 AM   #6
terencek
Groupie
terencek ought to be getting tired of karma fortunes by now.terencek ought to be getting tired of karma fortunes by now.terencek ought to be getting tired of karma fortunes by now.terencek ought to be getting tired of karma fortunes by now.terencek ought to be getting tired of karma fortunes by now.terencek ought to be getting tired of karma fortunes by now.terencek ought to be getting tired of karma fortunes by now.terencek ought to be getting tired of karma fortunes by now.terencek ought to be getting tired of karma fortunes by now.terencek ought to be getting tired of karma fortunes by now.terencek ought to be getting tired of karma fortunes by now.
 
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!
terencek is offline   Reply With Quote
Old 05-28-2012, 09:01 AM   #7
holgalee
Kindle Newbie
holgalee has a complete set of Star Wars action figures.holgalee has a complete set of Star Wars action figures.holgalee has a complete set of Star Wars action figures.holgalee has a complete set of Star Wars action figures.
 
holgalee's Avatar
 
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.
holgalee is offline   Reply With Quote
Old 05-28-2012, 02:42 PM   #8
neonbible
Groupie
neonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watchneonbible is clearly one to watch
 
Posts: 199
Karma: 10802
Join Date: Sep 2010
Device: Kindle Paperwhite, iPhone 5, iPad Air, Nexus 7
Quote:
Originally Posted by terencek View Post
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!
Haven't thought of doing this before but may give it a go. I've always converted to epub and edited with Sigil. However Sigil can sometimes really screw up the formatting! Sometimes the file I've saved does not look the same as if I reopen it

However, how do you create TOC with a RTF file?
neonbible is offline   Reply With Quote
Old 05-28-2012, 04:42 PM   #9
Blossom
Wrapped up in Christmas
Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.
 
Blossom's Avatar
 
Posts: 12,490
Karma: 8218906
Join Date: Mar 2010
Location: Raleigh, NC
Device: 4 Kindles, 2 Kindle Fires, 2 SGPs, Nexus 7 and Fire Phone
Quote:
Originally Posted by terencek View Post
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!
It easier to just unpack the mobi using the Calibre plugin then open the HTML up in Word, edit and saved. This is what I do. There's no need to reconvert the file to RTF which Calibre does a poor job of and you can lose formatting.

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 04:53 PM.
Blossom is offline   Reply With Quote
Old 06-02-2012, 07:15 AM   #10
ebonygold
Junior Member
ebonygold began at the beginning.
 
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
ebonygold is offline   Reply With Quote
Old 06-02-2012, 01:25 PM   #11
jswinden
Astrophotographer
jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.
 
jswinden's Avatar
 
Posts: 5,499
Karma: 6981326
Join Date: Sep 2006
Location: USA
Device: iPad Mini 2, iPhone 5, Nexus 7.2
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.
jswinden is offline   Reply With Quote
Old 06-02-2012, 04:56 PM   #12
Blossom
Wrapped up in Christmas
Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.
 
Blossom's Avatar
 
Posts: 12,490
Karma: 8218906
Join Date: Mar 2010
Location: Raleigh, NC
Device: 4 Kindles, 2 Kindle Fires, 2 SGPs, Nexus 7 and Fire Phone
Quote:
Originally Posted by jswinden View Post
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.
So true! Let's not forget the annoying font tags as well that keep you ereader from changing font sizes correctly.
Blossom is offline   Reply With Quote
Old 06-02-2012, 05:02 PM   #13
Blossom
Wrapped up in Christmas
Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.
 
Blossom's Avatar
 
Posts: 12,490
Karma: 8218906
Join Date: Mar 2010
Location: Raleigh, NC
Device: 4 Kindles, 2 Kindle Fires, 2 SGPs, Nexus 7 and Fire Phone
Quote:
Originally Posted by ebonygold View Post
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
That won't give you navigation on your Kindle so you can jump from chapter to chapter. It's easier to just let Calibre create the TOC and Navigation. The Xpath by default will catch h1 and h2 once they are marked in Word. I use h3 tags myself and use a more direct regex.
Blossom is offline   Reply With Quote
Old 12-06-2012, 01:40 PM   #14
miklosh
Junior Member
miklosh began at the beginning.
 
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!!
miklosh is offline   Reply With Quote
Old 12-06-2012, 01:54 PM   #15
jswinden
Astrophotographer
jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.
 
jswinden's Avatar
 
Posts: 5,499
Karma: 6981326
Join Date: Sep 2006
Location: USA
Device: iPad Mini 2, iPhone 5, Nexus 7.2
Quote:
Originally Posted by miklosh View Post
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!!
Assuming there is an *.OPF file, you can open that file with Kindle Previewer and it will convert it back to a mobi7/KF8 file.

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 01:57 PM.
jswinden is offline   Reply With Quote
Reply

Tags
mobi2mobi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to edit a mobi document shivram Kindle Formats 4 05-05-2012 01:06 PM
Is it possible to edit an ebook? dorkmania Workshop 18 08-11-2011 07:39 AM
Sofware to Edit PDF, Lit, or Mobi? jangell2 Calibre 2 04-10-2011 11:49 PM
Edit ebook titles Malchik Sony Reader Dev Corner 4 08-31-2010 02:10 PM
Best method to edit body of .prc/.mobi files? Skydog Kindle Formats 0 12-25-2009 05:29 PM


All times are GMT -4. The time now is 05:31 AM.


MobileRead.com is a privately owned, operated and funded community.