View Single Post
Old 11-13-2008, 05:19 AM   #63
jakewalk
iPhone Rookie
jakewalk began at the beginning.
 
jakewalk's Avatar
 
Posts: 9
Karma: 10
Join Date: Nov 2008
Device: Clié TH55, iPhone
Thumbs down

Hi,

Crazy, thanks for the complements for pdaConverter.

Sadly for my router there is no modified I know of. (At least Tomato and DD-WRT don't support it). But in the meantime I was able to mainly solve my network problems. It had to do with a wireless AP I use to connect my Linux XBOX to the network.

So basically it works, but the server acts strange and I think I found the problem. I have exactly the same behaviour that tHeFiRsTiDioT described.

I cannot ping my PC using the hostname, when I started the server with the command server-calibre --hostname=jakewalk and add http://jakewalk:8080/stanza to stanza's online catalog it doesn't work, but starting the server without any parameter and using the IP for the catalog seems to work: http://192.168.2.79:8080/stanza
But when I try to download a book it doesn't work (see attached IMG_0002.jpg). Then I looked at the XML file and it is apparently not correct:

<entry>
<title>Urteil</title>
<id>urn:calibre:7</id>
<author><name>Kafka</name></author>
<updated>2008-11-13T09:43:51+00:00</updated>
<link type="application/epub+zip" href="http://localhost:8080/get/epub/7"/>
<link rel="x-stanza-cover-image" type="image/jpeg" href="http://localhost:8080/get/cover/7"/>
<link rel="x-stanza-cover-image-thumbnail" type="image/jpeg" href="http://localhost:8080/get/thumb/7"/>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><pre></pre></div>
</content>
</entry>

So I tried to manually download the epub file through Stanza's Option "Download Book at URL" (hidden in the settings) and I could succesfully import the file through the URL http://192.168.2.79:8080/get/epub/Das%20Urteil_6.epub (see attached IMG_0003.jpg) That's the prove that the network connection is not part of the problem.

I think the solution is simple. Could you please add a server parameter to the calibre-server.exe that allows using the IP-address in the XML-output instead of localhost? That should fix the problem.
Attached Thumbnails
Click image for larger version

Name:	IMG_0002.jpg
Views:	569
Size:	35.7 KB
ID:	17833   Click image for larger version

Name:	IMG_0003.jpg
Views:	567
Size:	42.1 KB
ID:	17834  
jakewalk is offline   Reply With Quote