View Single Post
Old 12-08-2009, 06:14 PM   #70
macr0t0r
Connoisseur
macr0t0r doesn't littermacr0t0r doesn't litter
 
macr0t0r's Avatar
 
Posts: 91
Karma: 108
Join Date: Jan 2008
Device: Palm Treo 680, Sony Reader
Quote:
Originally Posted by user_none View Post
Why do you need a PDB on import plugin? eReader PDB's are fully supported.

Once again I'm one step ahead of you, I added this a few days ago.
I know that eReader PDBs are supported. This is a little trick I do if I want to use an external converter for PDB within the Calibre Python environment (very useful on Windows machines). By importing the PDB, it calls the conversion routine on the file and generates a zipped HTML file in the same directory. I can then add that within the MetaData GUI. Now I have both the original eReader file and the converted HTML zip file to work with. I can't do this as a conversion plugin since that plugin expects OEB output. Perhaps with some work, I could figure out how to call the HTML to OEB functions within the plugin after converting to HTML. This whole plugin thing is still a bit of effort to work with.

However....this may be unnecessary. I'll do another bzr update and see how your work looks. If it's good enough, then....it's good enough!

- Jim
macr0t0r is offline   Reply With Quote