#39: Reversing PDB files to PML

Solved!
PDB-format eBooks are typically generated via PML (Palm Markup Language) files. I would like to reverse the process - extract the original PML document from a PDB file. Tools such as DropBook only go one-way.

Use the Perl module EBook::Tools::EReader

1
Best solution so far is to

1. use CPAN to install EBook::Tools::EReader
2. Either use this sample code directly in a .pl file
use EBook::Tools::EReader; my $pdb = EBook::Tools::EReader->new(); $pdb->Load('myfile-er.pdb'); my $html = $pdb->html; my $pml = $pdb->pml; print $pml;
3. or open up a Perl interactive debugger
perl -d -e 1
and drop all the my declarations from the above snippet.

You can probably whip up a quick Perl script to do this directly and print to STDOUT. Too lazy today to write that code for just this single-use case.

Think you've got a better solution? Help 92049143cabb7ba896d7c06e19906303_small yliu out by posting your solution

HANDebooks: Ebook Converters

http://www.handebooks.com/converters/index.html - found by 92049143cabb7ba896d7c06e19906303_small yliu on April 26, 2009, 02:50 PM UTC

Tags: eBook converter

eReader.com: Help

https://secure.ereader.com/ereader/help/dropbook/ - found by 92049143cabb7ba896d7c06e19906303_small yliu on April 26, 2009, 02:44 PM UTC

DropBook goes forward, but not back, apparently.

Tags: DropBook