View Single Post
Old 11-11-2008, 02:29 PM   #39
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: 45,407
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by CrazyIvan View Post
OK, Just tried it on my ipod Touch in Stanza. Getting there slowly but surely as I can now browse the feed. Some issues are that I can't see either of the images, the summary field doesn't wrap on the screen due to the <pre> tag and stanza can't access the books epub file. I looked at the xml being served and here's an example:

Code:
 <entry>
    <title>The Time Machine</title>
    <id>urn:calibre:8</id>
    <author><name>H G Wells</name></author>
    <updated>2008-10-12T23:40:34+00:00</updated>
    <link type="application/epub+zip" href="http://localhost:8080/get/epub/8"/>
    <link rel="x-stanza-cover-image" type="image/jpeg" href="http://localhost:8080/get/cover/8"/>
    <link rel="x-stanza-cover-image-thumbnail" type="image/jpeg" href="http://localhost:8080/get/thumb/8"/>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><pre>SUMMARY:
H. G. Wells’s sobering, thought-provoking novel is one of the greatest works of science fiction ever created—and as powerful today as when it was written. After inventing a machine that moves through time, the Traveler leaves Victorian London and goes far, far into the future.</pre></div>
    </content>
I wonder whether stanza can't handle this type of indirect image and epub link vs. links to the actual .jpeg and .epub files? I had some comments on the content formatting here:

https://www.mobileread.com/forums/sho...3&postcount=18

The stanza feed generated by calibredb list --output-format=stanza etc. works if I replace all the "http%3A"'s with "http:", add the missing thumbnail link and change the content formatting as mentioned above.

Cheers,
Crazy
The <pre> tags have been removed and http%3A has also been fixed.
kovidgoyal is offline   Reply With Quote