PDA

View Full Version : epub2plucker.pl


pruss
04-03-2009, 12:05 PM
A pity that there is no epub-capable reader for PalmOS. But if you don't mind dealing with a commandline based perl script, you can convert from epub to Plucker. http://pruss.mobi/epub2plucker.zip

You need to edit the beginning of the script to point to your Plucker parser (unless you're using Windows and just installed it in the default place). Then:
perl epub2plucker.pl file.epub "Title for Plucker"
You can omit "Title for Plucker"--it will then use whatever title it finds in the epub file. (Personally, I like my Plucker files to have titles of the form "Lastnameofauthor: Title", so I don't want to use the ones from the epub file.) And it will generate file.pdb. If it works. (It's not heavily tested.)

You may need to install some perl packages (XML::Simple comes to mind), and maybe a commandline unzip if you don't have one. I wrote this for myself, and I have no talent for making something like this any more user friendly.

Oh, and the script is public domain. Do what you like with it.