View Single Post
Old 06-13-2010, 01:33 PM   #1
Oxford-eBooks
Zealot
Oxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of light
 
Posts: 138
Karma: 12096
Join Date: May 2010
Device: Loads!
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
Oxford-eBooks is offline   Reply With Quote