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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-18-2013, 12:52 PM   #1
veole
Member
veole began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2013
Device: none
Question Is there a tool like Sigil to edit mobi ebooks?

I tried Mobipocket creator, but it does now allow to import already made mobi files.

I know that I could use Calibre to convert from mobi to epub, then edit the book in Sigil.

I'd like to know if there is a mobi editor or a better solution.

Thanks.
veole is offline   Reply With Quote
Old 02-18-2013, 01:08 PM   #2
AnemicOak
Bookaholic
AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.
 
AnemicOak's Avatar
 
Posts: 14,391
Karma: 54969924
Join Date: Oct 2007
Location: Minnesota
Device: iPad Mini 4, AuraHD, iPhone XR +
You can't edit a Mobi like you can an ePub. If you don't want to convert to ePub and edit with Sigil you can use Mobi Unpack to get the HTML and other bits and then edit the HTML. You'll then have to recompile it to Mobi using KindleGen, Calibre or MobiCreator.
AnemicOak is offline   Reply With Quote
Old 02-20-2013, 05:42 AM   #3
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,445
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by veole View Post
I tried Mobipocket creator, but it does now allow to import already made mobi files.

I know that I could use Calibre to convert from mobi to epub, then edit the book in Sigil.

I'd like to know if there is a mobi editor or a better solution.

Thanks.
In short, No.

Every time you make edits to the source for a mobi, you have to rebuild it. One edit; one hundred edits, doesn't matter. You rebuild it. That's why most of us make the ePUBs first, make all the various edits, etc., therein, and then build the finalized ePUB into a mobi file. If you're determined to do mobi only, then what AnemicOak said is the only way: unpack an existing mobi with mobiunpack, edit the bits you want with an html editor, and then rebuild the mobi using KindleGen or KindlePreviewer.

Hitch
Hitch is offline   Reply With Quote
Old 02-20-2013, 01:19 PM   #4
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by Hitch View Post
In short, No.

Every time you make edits to the source for a mobi, you have to rebuild it. One edit; one hundred edits, doesn't matter. You rebuild it. That's why most of us make the ePUBs first, make all the various edits, etc., therein, and then build the finalized ePUB into a mobi file. If you're determined to do mobi only, then what AnemicOak said is the only way: unpack an existing mobi with mobiunpack, edit the bits you want with an html editor, and then rebuild the mobi using KindleGen or KindlePreviewer.

Hitch
Exactly true. The mobi format should be treated like a binary file because that is what it is. KF8 is a compiled ePub. KF7 is proprietary compiled file. You wouldn't directly edit a binary executable and you shouldn't try and edit a compiled mobi.

Dale
DaleDe is offline   Reply With Quote
Old 02-20-2013, 03:16 PM   #5
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,445
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DaleDe View Post
Exactly true. The mobi format should be treated like a binary file because that is what it is. KF8 is a compiled ePub. KF7 is proprietary compiled file. You wouldn't directly edit a binary executable and you shouldn't try and edit a compiled mobi.

Dale
Hi, Dale:

Actually, {blush}, I literally use, verbatim, something that I picked up here from Diap, I think it was, about mobi being a binary database file, etc., in my client communications. I copied and pasted it ...hell, I don't know how long ago, and it's been in my canned responses ever since. Because you haven't lived until you try to explain to a client why editing their "Kindle book" takes more time than editing in Word, particularly after they've watched all the happy-happy joy-joy videos about how you can just upload a Word file and auto-magically make the world's best-lookin' book. ;-)

Hitch
Hitch is offline   Reply With Quote
Old 02-20-2013, 03:28 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,510
Karma: 126422064
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Hitch View Post
after they've watched all the happy-happy joy-joy videos
JSWolf is offline   Reply With Quote
Old 02-20-2013, 03:31 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,510
Karma: 126422064
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The best solution is to start with ePub, fix whatever the problem is and then convert that to Mobi. Mobi code is a real mess when you decompile it. I've seen enough cases where it just doesn't quite compile properly. You never know with Mobi.
JSWolf is offline   Reply With Quote
Old 02-21-2013, 03:26 PM   #8
veole
Member
veole began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2013
Device: none
What's the problem with using Calibre to convert from mobi to eupub, edit the epub file, and then to use Calibre to convert it again to mobi?

Why is better to decompile the mobi file and edit raw html?
veole is offline   Reply With Quote
Old 02-21-2013, 03:33 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,510
Karma: 126422064
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by veole View Post
What's the problem with using Calibre to convert from mobi to eupub, edit the epub file, and then to use Calibre to convert it again to mobi?

Why is better to decompile the mobi file and edit raw html?
It's not better to decompile the Mobi and edit the raw HTML file. It is better to use ePub as the source. But given that it's a Mobi file, you may have some work to do to clean up the source before you make your edits. Some Mobi can have very sloppy code and it translates into sloppy code for the ePub.
JSWolf is offline   Reply With Quote
Old 02-21-2013, 05:05 PM   #10
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,445
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by veole View Post
What's the problem with using Calibre to convert from mobi to eupub, edit the epub file, and then to use Calibre to convert it again to mobi?

Why is better to decompile the mobi file and edit raw html?
If you're using the epub and mobi for yourself, no reason. If you're planning to sell it, Amazon has rejected a lot of files made with Calibre, over the last few years, starting in 2010, and on-and-off through now. Now, mostly off, and even books made with Scrivener are occasionally being rejected. So, the answer is: it depends. ;-)

With regard to the ePUB, I prefer to make my own, over Calibre's coding. A lot.

Hitch
Hitch is offline   Reply With Quote
Old 02-21-2013, 05:16 PM   #11
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 688
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by Hitch View Post
With regard to the ePUB, I prefer to make my own, over Calibre's coding. A lot.

Hitch
Amen to that. Calibre's epub code, while valid, is not, shall we say, maintainer-friendly. Just fine for quick-and-dirty format shifting for personal use, though.

As for epub -> mobi via calibre, I find it more convenient most of the time to just use kindlegen.

Albert
(who is not a cat slave, but a cat senior staffer.)
st_albert is offline   Reply With Quote
Old 02-21-2013, 05:48 PM   #12
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,059
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by st_albert View Post
Amen to that. Calibre's epub code, while valid, is not, shall we say, maintainer-friendly. Just fine for quick-and-dirty format shifting for personal use, though.

As for epub -> mobi via calibre, I find it more convenient most of the time to just use kindlegen.

Albert
(who is not a cat slave, but a cat senior staffer.)
Isn't kindlegen, or kindlegen through Previewer, the only "supported" method of conversion? I know calibre can do it to transfer directly to your kindle, but I thought it had to go through kindlegen for submission to Amazon??
Turtle91 is offline   Reply With Quote
Old 02-21-2013, 07:45 PM   #13
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by Turtle91 View Post
Isn't kindlegen, or kindlegen through Previewer, the only "supported" method of conversion? I know calibre can do it to transfer directly to your kindle, but I thought it had to go through kindlegen for submission to Amazon??
Well, if you consider the KDP conversion to be Kindlegen, then I suppose the answer is Yes. But I like some others upload Sigil-generated epubs to the KDP. Works great, whatever the conversion software may be.
Notjohn is offline   Reply With Quote
Old 02-22-2013, 02:54 AM   #14
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,445
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Turtle91 View Post
Isn't kindlegen, or kindlegen through Previewer, the only "supported" method of conversion? I know calibre can do it to transfer directly to your kindle, but I thought it had to go through kindlegen for submission to Amazon??
Turtle:

Yes. KDP also = "Kindlegen," from Amazon's standpoint. Any other non-Kindlegen method, e.g., Calibre, is not supported.

Albert:

Indeed, vis-a-vis Calibre. Great tool for many things, but I don't love the code. Wonderful catalogue program!

and at my age, I definitely feel like a cat SLAVE. Look at it this way: slaves get emancipated, staff get fired. ;-) BWAHAHHAHAHAH.

Hitch
Hitch is offline   Reply With Quote
Old 08-02-2014, 04:08 PM   #15
shotsky
Enthusiast
shotsky began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Jul 2012
Device: none
Editing mobi ebooks

Quote:
Originally Posted by veole View Post
What's the problem with using Calibre to convert from mobi to eupub, edit the epub file, and then to use Calibre to convert it again to mobi?

Why is better to decompile the mobi file and edit raw html?
The answer for me is that Calibre does not respect class names when it converts. Some class names depict what follows, and Calibre simply blindly renames them calibrexx and you lose the original meaning. That is a no starter for me, and I continue to look for a way to decompile ebooks that does not involve Calibre with its sticky fingers renaming everything.
No explanation about why this is done, just that 'I am not interested in changing it.' That is really too bad, because a number of people use Calibre to get to the source html to work on that, but with classes all renamed, it is difficult if not impossible to know what you are editing.
One example is that I work with cookbooks in mobi/epub format. Before conversion, the html class may say <div class="titlel">. Afterwards, it says <div class="calibre59">.
A cookbook with 100 'pages' has 100 recipes. All the title tags are lost, although the text of the titles is there. The point is that there is no longer a reliable tag remaining with which to automate identification of the titles.
I have found that if you use the debug function, you can get the html as it was inside the ebook before conversion takes place. However, each page is a separate html file, so editing those is nearly impossible, too, unless you can find a way to merge the html files into a single file in the correct order. Not easy, but doable with sufficient effort.
shotsky is offline   Reply With Quote
Reply

Tags
edit, epub, mobi, mobipocket, sigil

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Release : New Tool to Edit ePubs TOC, Edit with Sigil and keep you TOC Nigol ePub 105 10-29-2012 11:40 AM
RPATHS - edit them by hand? a helpful tool twobob Kindle Developer's Corner 14 10-01-2012 08:28 PM
ePub Validation Fail after Sigil edit dm1839 Sigil 7 10-16-2011 07:59 PM
whishlist: button/command edit in Sigil booksonthemove Calibre 3 03-03-2010 06:30 AM


All times are GMT -4. The time now is 01:25 AM.


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