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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-03-2010, 11:02 AM   #1
Strupniveral
Junior Member
Strupniveral began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
Web interface and plugboards

Hi,

Is there any plan to apply the plugboards also when downloading a book from the web interface?

I'm using the web interface because is faster/easier than turning on a pc, connect kindle via usb, etc, but with the plugboards I can easily manage series into the kindle so having the plugboards applied also to books taken via the browser.

I'm also willing to put the hands on code (well, at least try to do so ), but before doing so I'd like to know if it's feasible according to current calibre implementation?

Any suggestion / direction is highly appreciated

Thanks & Regards
Strupniveral is offline   Reply With Quote
Old 10-03-2010, 11:32 AM   #2
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,429
Karma: 831552
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by Strupniveral View Post
Hi,

Is there any plan to apply the plugboards also when downloading a book from the web interface?
I don't have any plans. Someone else might.
Quote:
I'm also willing to put the hands on code (well, at least try to do so ), but before doing so I'd like to know if it's feasible according to current calibre implementation?
It is in theory possible. All book fetches go through a common method. That method would need to update metadata. In fact, the method already does update epubs (without plugboards), but all other formats are passed on unchanged.

Code of interest is in library.server.content.py.get_format()

Edit: you would also need to add a special device to the plugboard gui, permitting the user to target the content server. This device would need to be handled like send-to-disk, not conflicting with any device.

Last edited by chaley; 10-03-2010 at 11:45 AM.
chaley is offline   Reply With Quote
Old 10-03-2010, 05:09 PM   #3
Strupniveral
Junior Member
Strupniveral began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
Quote:
Originally Posted by chaley View Post
I don't have any plans. Someone else might.
Here I am
I'll try to see if I can come up with something of reasonable (and working )

Quote:
Originally Posted by chaley View Post
It is in theory possible. All book fetches go through a common method. That method would need to update metadata. In fact, the method already does update epubs (without plugboards), but all other formats are passed on unchanged.

Code of interest is in library.server.content.py.get_format()

Edit: you would also need to add a special device to the plugboard gui, permitting the user to target the content server. This device would need to be handled like send-to-disk, not conflicting with any device.
Thanks!
Strupniveral is offline   Reply With Quote
Old 10-03-2010, 05:22 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: 25,923
Karma: 5035037
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I would suggest not doing this for formats other than epub and perhaps MOBI. Setting metadata in some formats is very slow/cpu intensive, you dont want the server to be overloaded too easily
kovidgoyal is offline   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
Plugboard, template, and custom composite column recipes chaley Library Management 585 Today 01:44 PM
Web interface inside calibre alexxx Calibre 1 09-01-2010 04:34 AM
Web Standards for E-books by Joe Clark (web article) guyanonymous General Discussions 2 03-18-2010 10:36 PM
OS X Interface irulan Calibre 5 09-13-2008 01:18 PM
Mobile Web surfing on the rise says Face of the Web Alexander Turcic Lounge 2 04-20-2006 01:17 PM


All times are GMT -4. The time now is 02:15 PM.


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