View Single Post
Old 08-04-2011, 09:24 PM   #12
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The current server design uses AJAX queries to JSON returning end points on the server. If you want to refactor the entire interface you'll find that OPDS is insufficient/inefficient, you will have to use the endpoints that the current interface uses.

Look at the add_routes() method in browse.py that defines all the JSON and HTML endpoints. The JSON endpoints should be sufficient for your interface, if not just let me know and I can easily add new ones.

The HTML endpoints all use templates so you should just be able to get away with changing the templates with minimal or no need for code changes.
kovidgoyal is offline   Reply With Quote