View Single Post
Old 12-01-2008, 10:55 PM   #40
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Jon:

For non-DRM'ed ereader .pdb to .html, you may want to try EBook-Tools by Zed Pobre (member AZed here).

I have installed it and using a very simple script (see below) can convert ereader .pdb to .html (mind you I only tried it on a couple of .pdb's as I normally only use PalmDoc .pdb!)

If you get it installed correctly, you can use this simple Perl script (just copy it and save it to ereader2html.pl):
Code:
#!/usr/bin/env perl
# Usage: ereader2html.pl [ebook.pdb]
use EBook::Tools::EReader;

my $ebook = shift || 'ebook.pdb';
my $pdb = EBook::Tools::EReader->new();
$pdb->Load($ebook);

#print "Loaded '",$pdb->{title},"' by ",$pdb->{author},"\n";

#my $html = $pdb->html;
#my $pml = $pdb->pml;

$pdb->write_html($ebook.'.html');
$pdb->write_unknown_records;
and run it as follows on your ebook.pdb:
Code:
ereader2html.pl ebook.pdb

- or for the windows executable -
ereader2html.exe ebook.pdb
If you want to try it out for yourself, I also provide a compiled .exe in the .zip below. This is crude and could be improved on. This is just to see if it can convert any ereader .pdb file you want to convert.
Attached Files
File Type: zip ereader2html.zip (1.89 MB, 1498 views)

Last edited by nrapallo; 02-17-2009 at 11:46 AM. Reason: added .exe executable
nrapallo is offline   Reply With Quote