View Single Post
Old 07-01-2015, 01:37 AM   #30
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by kovidgoyal View Post
The new server is nowhere near ready just now.
OK, I've been wondering what the status was. But, unless it is going to be a few months, I don't want to do anything in the current server.
Quote:
As for allowing plugins to register themselves, I dont want to do that, because not all plugins are suitable for use in a server context. Some of them can be quite slow/leak memory/crash(pdf) which is why the list of formats is artificially restricted, as opposed to being the list of formats supported by all metadata writer plugins.

There is also the question of plugboards, IIRC the list of formats that can be used with plugboards in the server is also hardcoded.

I'm not sure what the best way to proceed here is. I suppose I could add kepub to the hardcoded list and have the code disard it if not kepub writer plugin is available.
That would be safe. The kepub metadata writer just subclasses EPUBMetadataWriter to add the extension and then adds a property to the cover image in the OPF.

Hang on, I hadn't looked at the code in the version in this thread. It doesn't do the cover settings, so it is just adding the extension. jgoguen, is there are reason you dropped setting the cover property?
davidfor is offline   Reply With Quote