|08-01-2009, 06:25 PM||#1|
Join Date: Dec 2007
Location: Sin City
Device: PW2 + HDX 8.9
How To mass-convert ereader files into HTML and then into MOBI
Here are the steps on how to mass convert ereader into Kindle (no cover, just the book).
It keeps hyperlinks! You do lose images and the cover.
You are going to need:
THE ereader python script
Mobiperl: (download the appropriate one depending on your operating system, I.e. Windows users will want mobiperl-win-0.0.43.zip as of this writing (8/1/09))
First step, OPEN the ereader Python script in notepad.
Find this line:
Change it to
Put all your ereader files in a directory and go to the command prompt. Navigate to the directory with all the ereader files (your new ereader Python script should be here also).
Execute this command:
for %a in (*.pdb) do "ereader2html.py" %a "c:\completepath\%~na" "Name Last Name" Last8ofCC
Here's what you will get:
In that directory, you will create one directory per book that has the images. You can delete the directories, save them, whatever you want to do with them.
Most importantly, you will have BookName.html files, as opposed to just "book.html" files. Your output files will carry each book's name.
Now copy html2mobi from the Mobiperl zip into the directory with all the HTML files.
Now in your command prompt execute:
for %a in (*.html) do html2mobi.exe %a
And that is how you mass convert ereader to Kindle
|08-09-2009, 08:21 PM||#2|
Join Date: Jul 2008
Device: K3(KKSO), iPad 3, iPhone 3GS, K1(sold), Cybook Opus(sold)
Hey Deb...thanks for this! You inspired me. I buy most of my books in mobi format cuz that is quickest to convert for my Kindle, but I do have some ereader files around.
Anyway, I figured there must be a way to mass convert but also keep the images. And I think I got it. At least, it worked on my machine.
As soon as I clean up my batch file code, I'll post about it.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Convert eReader Dictionary to MOBI?||notyou||Other formats||2||06-29-2010 01:37 AM|
|Convert HTML file to MOBI for Kindle||IMFletch||Calibre||5||04-16-2010 01:06 PM|
|Mobigen Mass Batch conversion of HTML-Single-File ebooks to .mobi ebooks||cklammer||Kindle Formats||9||11-20-2009 03:00 AM|
|Can you convert mobi prc to html?||Stuart Young||Bookeen||6||02-12-2008 03:34 AM|
|HTML (inluding linked files) to Mobi?||Prospect||Workshop||3||01-30-2008 12:27 PM|