Thread: OPF & guide
View Single Post
Old 08-05-2009, 04:37 PM   #28
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Valloric View Post
Oh I'd love it if the EPUB spec had some "cover image" metadata. That would be awesome. But it doesn't. What little it has that could be used to specify the cover image is not mandatory.
Yes but it exists, why not use it?

Quote:

Open it in Sigil, delete the cover image, insert a new one. Done. No need for a guide element.
Yes, but the world is larger than Sigil.


Quote:
Fair point. But the "right way" is arbitrary now, it's what you say is "right". I say "right" means putting an image at the beginning of the document. Again, there is no way to semantically specify the cover image in an epub that all reading systems would have to respect.
It's not arbitrary, it's in the spec. The fact that reading systems dont have to support it is immaterial, since the cover is also the first element in the spine.


Quote:
The file pointed to is not present after importing. Sigil disassembles the imported epub and creates the NCX, OPF etc on export. These files are not stored after they are imported.
Doesn't mean you can't keep an internal pointer to the file and output it in the generated OPF.
kovidgoyal is online now   Reply With Quote