<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Hi,</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
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 style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">My application is suppose to read the local files and present them in WebKit preview, preferably without running a server. I used a custom URI scheme to work around the cross origin issue.</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px">E.g. <i><script src='book:epub.js/build/epub.js'></script></i></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">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 style="font-family:arial,sans-serif;font-size:12.727272033691406px">
E.g. In .html files there are requests for stylesheets and images.</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><i><link rel="stylesheet" href="css/stylesheet.css" type="text/css"/></i></div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><i><br></i></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">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 style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Thank you very much,</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=1cb490b7-3b97-4538-87b9-f039c11596ce"><font color="#ffffff" size="1">ᐧ</font></div>
</div>