Downloading ePUBs to iPhone (Stanza 2.0)
I'm trying to deliver some ePUBs to iPhone to read with Stanza.
I have had some success with links on a webpage. Click on the link with Safari and Bob's your uncle it downloads in Stanza - magic!
<a href='epub://www.oxford-ebooks.com/somefolder_or_other/MyeBook.epub'>Download My eBook</a>
That also works on IE and Firefox. However, I'm wanting to download the file WITHOUT revealing the URL that the file's stored at, so I'm pushing it using ADODB.Stream / response.write in ASP. That works LOVELY for Firefox and IE but not for Safari / Stanza on iPhone.
I've proved that my code works for iPhone by sending a JPG rather than an ePUB - so I'm thinking that it might be the content-type that's wrong for ePUB.
I've tried 'application/epub+zip', 'application/epub', 'application/zip', even 'application/octet-stream'
Anyone had any experience with this?
Andy
|