<div dir="ltr"><div>Hi,</div><div><br></div><div>I am Google Summer of Code participant, and I am developing an application for reading eBooks using WebKit. At the moment I'm working with the .epub file format which is just compressed eBook content (html, css, ncx files).</div>
<div><br></div><div>My application is suppose to read the local files and present them in WebKit preview, preferably without running a server. I used custom URI scheme to work around the cross origin issue.</div><div>E.g. <i><script src='book:epub.js/build/epub.js'></script></i></div>
<div><br></div><div>This works fine. But if I need to load many html files I don't want to specify URI scheme in every request. </div><div>E.g. In .html files there are requests for stylesheets and images.</div><div>
<div>
<i><link rel="stylesheet" href="css/stylesheet.css" type="text/css"/></i></div></div><div><i><br></i></div><div>I would like to know if there a way I could redirect all the requests to use predefined URI scheme? Or maybe you know of some other solution that might work.</div>
<div><br></div><div>Thank you very much,</div><div><br></div><div><br></div>-- <br>Marta Milaković
<div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px; max-height:0px;" src="https://mailfoogae.appspot.com/t?sender=abWFydGEubWlsYWtvdmljQGdtYWlsLmNvbQ%3D%3D&type=zerocontent&guid=88464b3e-f120-4522-b444-a44369d7b0ea"><font color="#ffffff" size="1">ᐧ</font></div>
</div>