The original ereader2html.py has been split into two pieces:
1.
erdr2pml.py which simply generates the pml file, any images, and bookinfo.txt file and this can be used with
Dropbook. Its syntax is that of the original file.
2.
pml2xhtml.py which takes a pml file, and bookinfo.txt file and generates an xhtml file. It uses python subprocess to invoke tidy via the command line. Command line versions of tidy build out of the box on Linux, and MacOSX (actually it is already installed on MacOSX machines) and is
available for Windows as a binary
There are two reasons for ereader2html.py beeing split. The first is that the DRM piece now stands alone as it will be updated much less frequently. And the second reason is that the pml to xhtml piece will be free to use by anyone anywhere since it now has nothing to do with DRM (and can be updated more often more easily).
How to remove DRM from PDB files with erdr2pml.py
Download the latest version of
erdr2pml.py and
xpml2xhml.py files from
The Dark Reverser blog
or
Download erdr2pml.py v. 0.11
Code:
http://pastie.org/771116
Rename the downloaded file to erdr2pml.py
This will output the raw pml and images. You can then use Dropbook to convert this back to a non-drm PDB file.
Palm DropBook is a simple freeware application for Windows and Macintosh which allows you to convert a text file formatted using the Palm Markup Language into a Palm OS .pdb file which can be read with the eReader application.
You can also use xpml2xhml.py to convert raw pml and images to html.
You can get xpml2xhtml.py from
Code:
http://pastebin.com/m5f77fec8
Code:
http://code.google.com/p/ebook-conversion-tools/updates/list
Download the file and rename it to xpml2xhtml.py
xpml2xhtml.py syntax is
Code:
python pml2xhtml.py infile.pml [bookinfo.txt] outfile.html
See also:
ebook DRM removal tools archive