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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-01-2009, 06:25 PM   #1
GatorDeb
Evangelist
GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!GatorDeb , Klaatu Barada Niktu!
 
Posts: 447
Karma: 5365
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))

https://dev.mobileread.com/dist/tompe/mobiperl/


First step, OPEN the ereader Python script in notepad.

Find this line:

file(os.path.join(outdir, 'book.html'),'wb').write(pml.process())

Change it to

file(os.path.join(outdir, outdir+'.html'),'wb').write(pml.process())

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
GatorDeb is offline   Reply With Quote
Old 08-09-2009, 08:21 PM   #2
texasnightowl
Guru
texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.
 
Posts: 633
Karma: 1001556
Join Date: Jul 2008
Location: Texas
Device: K3(KKSO), iPad 3 (Sold: K1, Cybook Opus)
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.
texasnightowl is offline   Reply With Quote
Old 12-18-2009, 03:51 PM   #3
Baskar
Junior Member
Baskar began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2009
Device: none
Can i convert mobi to html format
Baskar is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


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


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