IMPRESSIVE work! Congratulations ashkulz! Thank you for your effort!
I downloaded Portable Python and in a minute Impserve was up and running!
I'd change the first hard-coded web page to use an index.html file. It nows shows two links: local contents, and online library which I find to be unnecessary. Just open local contents page.
I'm adding the HTML code I use as index.html to show a Google search, a link to an IMP book in mobileread and a link to the forum message where it was found.
So far it seems you cannot directly download ebooks from Mobileread. As I said before, this is becausem Mobileread webservers (as almost ALL webservers) doesn't know the MIME type application/x-softbook and handles IMP files with type unknown/unknown. Is there a way to change those HTTP headers to "Conten-type: applicaction/x-sofbook"?
Thanks again for your code. It's incredible that such few lines of code resolves HOURS of testing, settings, etc. Well done!
Code:
<html>
<head>
<title>Welcome to ImpServe</title>
</head>
<body>
<p><h1> Welcome to Impserve</h1>
</p>
<p> </p>
<p> </p>
<center>
<img alt="Google" src="http://www.google.com/intl/en/images/about_logo.gif" height=65 width=175>
</center>
<p>
<form name=Search method=GET action="http://www.google.com/search?hl=en">
<input type=text name='q' size=22 maxlength=2048 value="">
<input type=submit name="btnG" value="Search"></form>
</p>
<p> </p>
<center>
<a href="https://www.mobileread.com/forums/attachment.php?attachmentid=15610&d=1219722410
">Link to an IMP ebook in Mobileread</a>
<a href="https://www.mobileread.com/forums/showthread.php?t=28232">Link to a Mobileread forum</a>
</center>
</body>
</html>