View Single Post
Old 07-04-2008, 10:24 PM   #3
leveck
Literate Gadget Fan
leveck is on a distinguished road
 
leveck's Avatar
 
Posts: 29
Karma: 54
Join Date: Jul 2008
Location: Rock Springs, Wyoming, USA
Device: Vulan Flipstart, Sony PRS 505
Lightbulb

Quote:
Originally Posted by FizzyWater View Post
This thread talks about such a tool, although I understand it may be difficult to find.

https://www.mobileread.com/forums/sho...t=ereader2html
Took some googling but I found the script. Calibre stopped working after I installed Python 2.5, but the command line tools still work.

Here's the batch file I wrote to convert my books:

Code:
@echo off
ereader2html.py %1 "c:\books" "Name" [CC Number]
"c:\program files\calibre\html2lrf" -t %1 book.html
Where name is your name and [CC Number] is you credit card number (to unlock ereader drm).

I renamed the *.pdb files to the name of the book with no extention. This is why I set the metadata title with %1.

Example:

Code:
C:\books>ereader2lrf "Get Shorty"
eReader2Html v0.03. Copyright (c) 2008 The Dark Reverser
Processing... done
Processing book.html
        Parsing HTML...
        Converting to BBeB...
        Rationalizing font sizes...
Output written to C:\books\book.lrf
leveck is offline   Reply With Quote