Quote:
Originally Posted by slowsmile
Some background. I've written a python app(as a Windows exe) that converts a Word filtered HTML file directly to epub.
|
I'm a big fan of Sigl plugins, however, before you re-invent the wheel, you might want to consider using (or customizing) existing solutions such as
Toxaris's
e-PUB Tools word plugin or
DiapDealer's
DOCXImport plugin. If you're not happy with either solution, you could even run the command line version of Calibre to convert a DOCX file to an epub and then import it to Sigil.
Quote:
Originally Posted by slowsmile
The plugin itself will have somewhat reduced functionality -- for instance it will not be able to convert html to Kindle mobi.
|
You could recycle parts of my
KindleGen plugin code for that or use the command line version of the Calibre converter.
Quote:
Originally Posted by slowsmile
The reason the windowing app is so big is because I used Tkinter for all the window components -- but the MainWindow won't be needed for the plugin.
|
BTW, the Sigil plugin runner code has a built-in preferences handler that allows you to automatically read JSON preferences with
bk.getPrefs().