Quote:
Originally Posted by icon0clast
Isn't the element "id" supposed to be unique within an xml document? Having two items with id="cover" is probably technically invalid. (Not that any two xml parsers will ever agree on anything.) I realised that when I ran across this in one of my test books...
Code:
<item id="cover" href="cover.xhtml" media-type="application/xhtml+xml"/>
I tried to tweak that to use a different id (and add the id="cover" element pointing to the jpeg) and only succeeded in creating something that the nook would recognise the cover of, but couldn't open the book itself.
Could this all be as simple as perhaps the nook doesn't realize that 'jpeg' has in 'e' in it?
|
Possibly. I am not really code literate enough to understand all the intricasies on how this stuff really works. All I really know is that this fix does work for me, just not really how or why. Maybe it is only really a function of the fact that I make sure the epub contains a copy of "cover.jpg" and the "jpg" line is added to the manifest. The other steps might be unnecessary, but I haven't tested that at this point, since as what I am doing works for me, I'm getting the "if it ain't broke, don't fix it" feeling).