Quote:
Originally Posted by TomMelly
So, I guess the follow-up is can anyone recommend any existing plugins I can cannibalise that do any of the following?
1. Add meta-data
2. Import covers
|
You might want to download the
Sigil Plugin Framework Guide, if you haven't already done so.
For the first task you'll need:
bk.getmetadataxml()
bk.setmetadataxml(new_metadata)
For the second task you'll need:
bk.addfile()
bk.spine_insert_before() (if it's an HTML cover file)
(You'll find some code examples in the
test plugin.)