Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 03-06-2009, 03:26 PM   #16
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by bwaldron View Post
Yes, that does a better job in getting the complete "package."
Why?

Exactly what is the difference between using mobi2html and then mobigen or MobiPocket creator on the resulting html file and images compared to using calibre?

Since calibre process the files more than mobi2html you will increase the risk of not getting the same result back using calibre based tools.
tompe is offline   Reply With Quote
Old 03-06-2009, 04:49 PM   #17
bwaldron
Wizard
bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.
 
bwaldron's Avatar
 
Posts: 1,230
Karma: 543210
Join Date: Feb 2008
Location: Gatlinburg, Tennessee
Device: Kindles: Paperwhite Signature Ed., Oasis 2, Voyage
Quote:
Originally Posted by tompe View Post
Why?

Exactly what is the difference between using mobi2html and then mobigen or MobiPocket creator on the resulting html file and images compared to using calibre?

Since calibre process the files more than mobi2html you will increase the risk of not getting the same result back using calibre based tools.
As I said, getting the complete package (opf & jpg). I use and like both tools.
bwaldron is offline   Reply With Quote
Old 03-06-2009, 05:06 PM   #18
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by bwaldron View Post
As I said, getting the complete package (opf & jpg). I use and like both tools.
What you get is a reconstructed opf file which is not the one used to create the file. Why do you need that file?

mobi2html is complete in the sense that you get all the information that is in the file.

Having said that there is actually a reason to prefer mobi2oeb and that is if you have utf-8 characters in the MobiPocket book (and the book is tagged as utf-8). Then I think that there are still some bugs or limitations in mobi2html. But these books are not so common.
tompe is offline   Reply With Quote
Old 03-06-2009, 06:12 PM   #19
bwaldron
Wizard
bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.
 
bwaldron's Avatar
 
Posts: 1,230
Karma: 543210
Join Date: Feb 2008
Location: Gatlinburg, Tennessee
Device: Kindles: Paperwhite Signature Ed., Oasis 2, Voyage
Quote:
Originally Posted by tompe View Post
What you get is a reconstructed opf file which is not the one used to create the file. Why do you need that file?
I've got my entire library of over 1000 ebooks in calibre. Not all of them have full metadata in the original files, but it is all complete in Calibre. I can save to disk from Calibre and then run mobi2oeb with full metadata preserved for Mobipocket Creator by just opening the opf file.

So I don't need it, but it is a convenience factor. I haven't found any significant differences in the regenerated mobi files after editing regardless of whether I use mobi2oeb or mobi2html (which, understand, I am not denigrating).
bwaldron is offline   Reply With Quote
Old 03-06-2009, 06:18 PM   #20
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by bwaldron View Post
I've got my entire library of over 1000 ebooks in calibre. Not all of them have full metadata in the original files, but it is all complete in Calibre. I can save to disk from Calibre and then run mobi2oeb with full metadata preserved for Mobipocket Creator by just opening the opf file.
Ah, I forgot that. I was wrong. I thought I had implemented this functionality but now I remember that I had just planned to to it. For a prc book (not MobiPocket format) without metadata then all information is saved using mobi2html (and since the example starting this thread seemed to be such a book I thought just about this case). It is not saved for a MobiPocket book having metadata.
tompe is offline   Reply With Quote
Old 03-14-2009, 02:45 PM   #21
EowynCarter
Wizard
EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.
 
Posts: 4,337
Karma: 4000000
Join Date: Oct 2008
Location: Paris
Device: Cybooks; Sony PRS-T1
Well, that one didn't helped me.

I mean that :
http://www.mobipocket.com/forum/viewtopic.php?t=14952

i converted it to html. But, bad luck, noting to tel the wrong line feed appart from the wrong ones.
Any suggestion ?
EowynCarter is offline   Reply With Quote
Old 03-14-2009, 02:51 PM   #22
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by EowynCarter View Post
Well, that one didn't helped me.

I mean that :
http://www.mobipocket.com/forum/viewtopic.php?t=14952

i converted it to html. But, bad luck, noting to tel the wrong line feed appart from the wrong ones.
Any suggestion ?
Well, you can probably getting it near to correct by removing all line feeds that does not have a "." before it or remove every line feed that is not followed by a word that starts with a capital letter.
tompe is offline   Reply With Quote
Old 03-14-2009, 02:52 PM   #23
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by EowynCarter View Post
Well, that one didn't helped me.

I mean that :
http://www.mobipocket.com/forum/viewtopic.php?t=14952

i converted it to html. But, bad luck, noting to tel the wrong line feed appart from the wrong ones.
Any suggestion ?
Check if the html code has a paragraph division.
tompe is offline   Reply With Quote
Old 03-14-2009, 04:36 PM   #24
EowynCarter
Wizard
EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.
 
Posts: 4,337
Karma: 4000000
Join Date: Oct 2008
Location: Paris
Device: Cybooks; Sony PRS-T1
acctually, it opens the <p> and don't close it.

Using Capital letters would probably gives some result, but i can't get the regexp right.
EowynCarter is offline   Reply With Quote
Old 03-15-2009, 05:25 AM   #25
EowynCarter
Wizard
EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.
 
Posts: 4,337
Karma: 4000000
Join Date: Oct 2008
Location: Paris
Device: Cybooks; Sony PRS-T1
That's what i used finnally. Not perfect, but the book gets back to readable.
I whish i needn't to do the editor's job ! I'm Gonna ask for a refund, or a proper prc.

Code:
<p height="0"><font color="black" face="Times New Roman" size="3"><span><font color="black">(([^a-z])(.)*[.,;:!?"])<o:p></o:p></font></span></font><div height="0"></div>
replace by -> <p>$1</p>

<p height="0"><font color="black" face="Times New Roman" size="3"><i><span><font color="black">(([^a-z])(.)*[.,;:!?"])<o:p></o:p></font></span></i></font><div height="0"></div>
replace by -> <p>$1</p>

<p height="0"><font color="black" face="Times New Roman" size="3"><span><font color="black">(([^a-z])(.)*)<o:p></o:p></font></span></font><div height="0"></div>
replace by -> <p>$1

<p height="0"><font color="black" face="Times New Roman" size="3"><i><span><font color="black">(([^a-z])(.)*)<o:p></o:p></font></span></i></font><div height="0"></div>
replace by -> <p>$1

<p height="0"><font color="black" face="Times New Roman" size="3"><span><font color="black">((.)*[.,;:!?"])<o:p></o:p></font></span></font><div height="0"></div>
replace by -> $1</p>

<p height="0"><font color="black" face="Times New Roman" size="3"><i><span><font color="black">((.)*[.,;:!?"])<o:p></o:p></font></span></i></font><div height="0"></div>
replace by -> $1</p>

<p height="0"><font color="black" face="Times New Roman" size="3"><span><font color="black">((.)*)<o:p></o:p></font></span></font><div height="0"></div>
replace by -> $1

<p height="0"><font color="black" face="Times New Roman" size="3"><i><span><font color="black">((.)*)<o:p></o:p></font></span></i></font><div height="0"></div>
replace by -> $1

Last edited by EowynCarter; 03-15-2009 at 05:29 AM.
EowynCarter is offline   Reply With Quote
Old 03-15-2009, 08:13 AM   #26
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: 79,601
Karma: 145863177
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 tompe View Post
Why?

Exactly what is the difference between using mobi2html and then mobigen or MobiPocket creator on the resulting html file and images compared to using calibre?

Since calibre process the files more than mobi2html you will increase the risk of not getting the same result back using calibre based tools.
Mobi2oeb will work if the file is compressed with the higher level of compression. mobi2html won't. That to me is the main difference.
JSWolf is offline   Reply With Quote
Old 03-18-2009, 03:16 PM   #27
kevindorsey
Evangelist
kevindorsey has a complete set of Star Wars action figures.kevindorsey has a complete set of Star Wars action figures.kevindorsey has a complete set of Star Wars action figures.
 
Posts: 488
Karma: 258
Join Date: Mar 2009
Device: kindle
A few of my questions were answered, thanks JSWolf.
kevindorsey is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unpacking/repacking mobi books Jellby Kindle Formats 9 12-25-2009 06:21 AM
My head just exploded junkyardwillie iRex 28 07-15-2009 11:32 AM
new books in mobi format sassanik IMP 11 09-08-2008 09:40 AM


All times are GMT -4. The time now is 04:35 PM.


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