@davidfor: Thanks for the 2 links: the first downloaded a kepub file but the second failed with some sort of xml error.
Using a file extension of .epub, the downloaded kepub was added to calibre with no errors. It works in calibre viewer and can be converted to other formats.
It is essentially an ePub, with mimetype, content.opf and toc.ncx all conforming to the ePub standard.
The stylesheets referenced in the xhtml documents are not declared in the OPF manifest although they still seem to get applied by calibre's reader. (CSS font sizes are defined in PTs: whilst not an error this does stop zooming from working.)
There is also a javascript file, (also omitted from the OPF), which deals with Kobo specifc styling, paginating and bookmarks.
The individual xhtml documents have a <style> element which is referenced from the javascript and therefore aimed specifically at the Kobo reader, (though it may also work with other reading systems that support javascript.) These xhtml documents also contain an empty <span> element for every sentence in every paragraph, each having a unique ID. I can only guess that these may be used by Kobo devices somehow.
RobertJSawyer is also going to send me a kepub so I'll see how it compares.
|