Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-02-2010, 03:32 PM   #1
ficbot
Wizard
ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.
 
Posts: 2,409
Karma: 4132096
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
Is it okay to import PML directly into Calibre?

I was using ereader2html and having problems working with the HTML. Someone suggested I use a PML extractor instead and this has worked much better. I was running the files through erdr2pml and then using dropbook to make a PDB file, which I was them importing into Calibre and converting to mobi. It worked beautifully on all by a handful of books.

Some books made a proper PDB file after the dropbook process but these files did not convert in Calibre (got error messages). Other files got error messages at the dropbook point. As an experiment, I tried importing just the PML (i.e. the part you have before using dropbook) and converting THAT to mobi, and it worked. I could even use Calibre to make a PDB if I wanted one. My question is, is there any downside to doing this? If dropbook won't work, does this mean there is something wrong with the file? I want the most future-proof set-up possible where I will not have to fiddle with code if I get a new ebook reader. I want to liberate it once and have a file I am good to use forever. So is plain PML as good, as far as Calibre is converned, as a finished PDB file? And if so and I convert to mobi, is there a reason to keep the PML file for later, or should I just keep the mobi file and all is well?
ficbot is offline   Reply With Quote
Old 05-02-2010, 03:37 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
PML is fine, just keep the MOBI. MOBI is a superset of PML
kovidgoyal is online now   Reply With Quote
Advert
Old 05-02-2010, 07:24 PM   #3
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by ficbot View Post
Some books made a proper PDB file after the dropbook process but these files did not convert in Calibre (got error messages).
Could you please open a ticket with the PDB's dropbook created that won't convert in calibre. Along with the exact error message.

Quote:
Originally Posted by ficbot View Post
Other files got error messages at the dropbook point.
Dropbook has very very specific requirements for PML files.

Quote:
Originally Posted by ficbot View Post
If dropbook won't work, does this mean there is something wrong with the file?
Technically yes, it does not conform to the spec. However, the issues you are running into are probably something really simple like the character encoding being wrong. Dropbook requires the file to be cp1252. calibre is much more liberal with what it accepts for PML.

Quote:
Originally Posted by ficbot View Post
So is plain PML as good, as far as Calibre is converned, as a finished PDB file?
Yes.

Quote:
Originally Posted by ficbot View Post
And if so and I convert to mobi, is there a reason to keep the PML file for later...
No.
user_none is offline   Reply With Quote
Old 05-02-2010, 07:37 PM   #4
ficbot
Wizard
ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.
 
Posts: 2,409
Karma: 4132096
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
Thanks for the answers. I have gone ahead and converted the files using the PML in Calibre and so far everything looks good and I think I will have good files I can re-use and re-convert from as needed. I have created a ticket using one of the offending books.
ficbot is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
email from Calibre directly into a given Collection Francesco Amazon Kindle 1 09-19-2010 11:33 PM
Sending files directly to PRS500 without Calibre quicksilver Calibre 6 12-23-2009 04:58 PM
Importing opf directly in Calibre? SeTeVeElCarton Calibre 1 12-11-2009 12:44 PM
Can't import into Calibre 6.26 Winter57 Calibre 8 12-05-2009 02:05 PM
Any way to import files directly into collection in eBook Library? erikk Sony Reader 3 02-26-2008 01:48 PM


All times are GMT -4. The time now is 08:06 AM.


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