View Single Post
Old 11-10-2008, 01:33 PM   #18
RoninTech
Groupie
RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.RoninTech ought to be getting tired of karma fortunes by now.
 
RoninTech's Avatar
 
Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
Hey Kovid,

I've been doing some more playing with calibredb's stanza output and have found a couple of issues.

- All of the URL's have had http:// replaced with http%3A// which breaks stanza's ability to show the book covers
- The book entry's are missing the "x-stanza-cover-image-thumbnail" link's which means stanza can't show the books thumbnail cover. Its identical to the x-stanza-cover-image field, just uses the different rel="x-stanza-cover-image-thumbnail".
- Each entries content section has the <pre></pre> tag which makes the text unviewable in stanza (it can't split the lines). Removing the pre and using something like the following template that I used for the content section would tidy things up, where _INFO_ is the content text:

Quote:
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml" align="center">_INFO_</div>
</content>
Cheers,
Crazy

Last edited by RoninTech; 11-10-2008 at 11:05 PM.
RoninTech is offline   Reply With Quote