views:

305

answers:

2

Hello, I've got an e-book (viewable with isilo) in a pdb file. Is it possible to read it's contents with Python (perl, ruby, php)?

+4  A: 

PDB was designed for Palm pilots in the very beginning. isilo started kind of as a universal reader on PDAs so they've also implemented the PDB protocol.

For python, you can use the Python PalmDB library.

rxin
A: 

There is one library available to extract information from pdf by reportlab, but it is not free. It is called PageCatcher and has an API http://www.reportlab.com/software/#pagecatcher I think it is far from perfect.

Another thing you might consider is to use a tool to create RTF from the pdf and use python bindings for that. PyRTF can be a solution in that case: http://pyrtf.sourceforge.net/

milovanderlinden
Are we both talking about `pdb` format?
roddik