I am trying to add some functionality to Calibre.
I would like to add the ability to read books online.
I plan on doing this by extracting an htmlz version of the book inside the book folder and opening it in the web browser.
I have created a php function that extracts the file and opens the page.
I have also created a python script that will extract the file.
However I have not figured out how to make this work with Calibre yet.
When I try running the php page I get the following errors.
http://localhost:9878/static/browse/reader.php
404 Not Found
u'browse/reader.php' not a valid resource type
http://localhost:9878/browse/reader.php
404 Not Found
The path '/browse/reader.php' was not found.
Currently I have not tried running my script in Cailbre the php file I am currently trying to run just prints Hello World
Another avenue I am looking at would be doing something similar to how files are downloaded now.
i.e.
http://localhost/get/html/book.htmlz
This would open the extract the book on the server if needed then direct the user to the books index page.
I think this should be possible any help s greatly appreciated.
Thanks,