I wouldn't say I'm screaming for it, but you did say you'd consider this next time you were working on GC.
Quote:
Originally Posted by JimmXinu
@kiwidude - Would you have any interest in creating and exposing a few methods on Generate Cover for other plugins to call like you did for Reading Lists?
I'm thinking just a couple: something like get_saved_setting_names to get a list of the names of the different settings, and a modified generate_cover_for_book.
The generate_cover_for_book method would take the name of the setting to use and, an mi either with _path_to_cover set or a new path_to_cover parameter.
Returning the cover data like generate_cover_for_book does now seems best to me, rather than setting it from inside the new method. I might want to push it into the epub during creation.
My intention is to have the FanFictionDownLoader plugin (configurably) call GC to generate covers when creating/updating books, using different settings for different sites.
Jim
|