View Single Post
Old 03-30-2009, 02:15 AM   #4
delphidb96
Wizard
delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.delphidb96 ought to be getting tired of karma fortunes by now.
 
Posts: 2,999
Karma: 300001
Join Date: Jan 2007
Location: Citrus Heights, California
Device: TWO Kindle 2s, one each Bookeen Cybook Gen3, Sony PRS-500, Axim X51V
Quote:
Originally Posted by =X= View Post
Required:
Dropbook/MakeBook (tools to make eReader books)
ereader2html.pl

One time setup:
Install DropBook or MakeBook (obsolete java command line tool)
http://www.ereader.com/ereader/help/...k/download.htm


Make changes to erader2html:
(note line number are before ANY insert)
Insert after line 470 keep the same indent as line 470
os.makedirs(outdir + '\\book_img')

Insert after line 476 keep the same indent as line 476
file(os.path.join(outdir + '\\book_img', name), 'wb').write(contents)

Insert after line 479 keep the same indent as line 479
file(os.path.join(outdir, 'book.pml'),'wb').write(er.getText())


Now for the process:
Step 1: Run the ereader2html tool.
Step 2: Open DropBook. And drag and drop the book.pml file on the drop book application.
(this step will produce a file book.pdb in the same directory)
=X=

Strangest thing. I inserted the lines - as written - in the appropriate places, and, of course, Under Python 2.6 it don't work. Now eReader2HTML.py works fine, but the new version, which I renamed eReader2pml.py, seems to think all three lines are bad/wrong/flawed. What gives?

Derek
delphidb96 is offline   Reply With Quote