View Single Post
Old 05-03-2014, 10:38 AM   #7
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
Kovid: The extra markup are spans. The spans have a class and an id. They wrap each sentence in the book. Strictly, they are legal markup for an epub. If the input plugin was purely used by the viewer, it would be OK to leave them in. But, as it would also be used for conversions, it would be rude to leave them. There was some discussion in the Modify epub plugin thread on how to remove them. I'll have another look at this.

I also need to detect the Kobo DRM so that an error can be displayed. It isn't immediately obvious how as there isn't anything like the encryption.xml file.

The other thing that is needed with this is a metadata reader plugin. Again, subclassing the epub plugin works. The only thing that needs to be handled is the encrypted covers if there is DRM.
davidfor is offline   Reply With Quote