Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 06-15-2011, 02:46 PM   #1
Ozor
Junior Member
Ozor began at the beginning.
 
Ozor's Avatar
 
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
Ozor is offline   Reply With Quote
Old 06-15-2011, 03:01 PM   #2
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: 26,436
Karma: 5383257
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.
kovidgoyal is online now   Reply With Quote
Old 06-17-2011, 04:00 PM   #3
Ozor
Junior Member
Ozor began at the beginning.
 
Ozor's Avatar
 
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
Ozor is offline   Reply With Quote
Old 06-17-2011, 04:08 PM   #4
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: 26,436
Karma: 5383257
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
kovidgoyal is online now   Reply With Quote
Old 06-17-2011, 04:12 PM   #5
Ozor
Junior Member
Ozor began at the beginning.
 
Ozor's Avatar
 
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.
Ozor is offline   Reply With Quote
Old 06-17-2011, 04:16 PM   #6
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: 26,436
Karma: 5383257
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
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Content Server and Windows Home Server 2011 HughMcC Calibre 8 10-01-2014 08:26 AM
Kindle App v2.6 on iPhone crash with Calibre's content Jmot Apple Devices 0 02-25-2011 12:41 AM
Need help - content server Sydney's Mom Calibre 0 08-28-2010 05:07 PM
Which Android readers work well with Calibre's Content Server orijonl Calibre 7 08-27-2010 10:13 AM
Content Server thibaulthalpern Calibre 5 04-28-2009 01:56 PM


All times are GMT -4. The time now is 03:31 AM.


MobileRead.com is a privately owned, operated and funded community.