![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2011
Device: iPad, iPhone
|
Monocle in Calibre's Content Server
Could someone tell me the status of adding Monocle to Calibre's Content Server? If no one is working on this I may take the plunge and see if I can hack Monocle into the webserver.
Thank you, Matthew Ozor |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's on my TODO list, but I have other priorities at the moment. Feel free to hack on it. Integrating monocle into the CS should be fairly trivial.
The hard part is writing a new iterator class that the ebook viewer and the content server can share, that caches the exploded ebooks files and supports concurrent access, annotations, etc. But to start with you can just use the current oeb.iterator to enable basic read access with no caching. I can always re-write it to use the new iterator when the new iterator is ready. Ask if you need guidance around the CS code. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2011
Device: iPad, iPhone
|
I started this afternoon familiarizing myself with the source tree and located the modules I would need to revise in the server. My question for you is there a way to compile just the calibre-server and not the whole distribution? I was having trouble following the build sequence.
Thank you Matthew Ozor |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I suggest you dont compile anything at all. Setup a calibre development environment by following the instructions here: http://manual.calibre-ebook.com/develop.html
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2011
Device: iPad, iPhone
|
Thanks for the link and the quick reply. I read that page this morning too.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Couple of other tips is to run the content server as
calibre-server --develop --auto-reload this will cause it to output a verbose log to the console and also auto reload itself if the python source code changes (though I'm not a 100% sure if that works with CALIBRE_DEVELOP_FROM |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Content Server and Windows Home Server 2011 | HughMcC | Calibre | 8 | 10-01-2014 07:26 AM |
Kindle App v2.6 on iPhone crash with Calibre's content | Jmot | Apple Devices | 0 | 02-24-2011 11:41 PM |
Need help - content server | Sydney's Mom | Calibre | 0 | 08-28-2010 04:07 PM |
Which Android readers work well with Calibre's Content Server | orijonl | Calibre | 7 | 08-27-2010 09:13 AM |
Content Server | thibaulthalpern | Calibre | 5 | 04-28-2009 12:56 PM |