Thread: Ereader2Html
View Single Post
Old 11-19-2008, 02:01 PM   #11
Trono
Enthusiast
Trono began at the beginning.
 
Trono's Avatar
 
Posts: 39
Karma: 10
Join Date: Aug 2007
Location: Norway
Device: Hanlin V3
Quote:
Originally Posted by shighfield View Post
Yes I use it quite often! This is for a PRC file with DRM.

Alt-Space > Terminal

Place your ereader2html.py and book in a directory (I will use ~/ebookutil)
where ~/ is my home directory.

python ./ereader2html.py PlayDirtyANovel_49490.pdb ~/ebookutil/tst "User Name" 12345678

Then it will create the HTML file in ~/ebookutil/tst

the "user name" is the name you registered the book with.
and the 12345678 is the last 8 digits of the credit card you purchased
the book with.

Hope this helps,
Hi,
thanks for the instructions. I thought even I could manage when I saw them, but it turns out I still need guidance...

I've downloaded the script. At least I think so - it's saved as .txt and so I changed it to .py (maybe this is why I'm having trouble..?). Also downloaded the protected PDB-book from eReader to the same folder.

I'm using Linux Ubuntu 8.10, and opening Python 2.5 generates a terminal window, where I'm typing the following:

python ./ereader2html.py EvolutionandtheOrigin_59489.pdb ~/eReader2html/tst Trond T 50717918

Explanation:
python ./ --> space and "dot" before slash at the end - correct?
ereader2html.py --> name of the script - followed by space
EvolutionandtheOrigin_59489.pdb --> name of the eReader book - followed by space
~/eReader2html/tst --> Referring to the folder in which the generated book/file should be placed - followed by space (should it be the actual sign ~ or should I write the entire adress --> /home/trond/eReader2html/tst ?)
Trond T "credit card number - 8 digits" --> user name (not with the " " !?) and cred.card number - separated by space

This generates the following message: "SyntaxError: invalid syntax". I've tried several variations, but always the same error.

Any ideas?

Trond

PS! Please feel free to limit your response to: "Dude - you're in way over your head" if necessary

Last edited by Trono; 11-19-2008 at 02:03 PM.
Trono is offline   Reply With Quote