03-04-2011, 02:40 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2011
Device: none
|
automatic conversion on web server?
On a web server that has numerous large documents in html form, I'd like to offer the user the option of downloading an appropriate ebook format.
Is this sort of thing allowed under Calibre's licensing? It's actually a matter of doing the automated conversions on two systems, a Windows system running an apache server for development, and a Linux system running apache for production. I don't need to mess with any DRM or other copy protection. When it comes to installing things, I'm a total spaz. Would it be better just to stick with letting the user download the html source in a zip file and let him do whatever conversion he wants? Is this something lots of folks are doing, so how to do conversions on a web server is already commonly known? Thanks for any direction you care to offer. |
03-04-2011, 02:45 PM | #2 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
I do not think there is anything that prohibits you from doing it on a web server. In fact I am sure there are others who have done it. It is not a built-in facility of the calibre web server, so offering this facility involves doing your own interfacing to the calibre command level tools.
However a word of caution - a conversion can take a long time. Minutes is not unusual, and hours have been known. This might mean that the mode of working you are envisaging could have problems. |
Advert | |
|
03-04-2011, 02:46 PM | #3 |
creator of calibre
Posts: 43,933
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre's licensing imposes no restrictions on how you use the product of its conversions. As long as you call calibre as a separate program and dont integrate it directly into your code, you are fine. If you do integrate it, then you have to make your code open source too.
|
03-05-2011, 04:34 PM | #4 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Mar 2011
Device: none
|
Quote:
I think I'll stick with providing the user with an opportunity to download all the html source in a zip file. I'm parsing it, expanding custom tags, and lots of other things in about a second, then storing the completed file for download when requested. Minutes? No, thank you. |
|
03-05-2011, 05:37 PM | #5 |
Zealot
Posts: 110
Karma: 5176
Join Date: Dec 2010
Device: Mac OSX, iPad, iPod, & Nook
|
I don't think it is a Calibre issue. It is a computer "horsepower" issue.
I have never had a conversion take more than a few minutes (less than 10). If your server is doing the conversions before it sends the file, it better have some "cajones" if you know what I mean. Otherwise, just do the conversion ahead of time and offer several formats. Don't try to do them "on the fly". Happy happy, joy joy. |
Advert | |
|
03-05-2011, 07:07 PM | #6 | |
Well trained by Cats
Posts: 29,891
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
A cleanly coded HUGE book, converts in minutes on a P4. |
|
04-15-2012, 03:13 AM | #7 |
Junior Member
Posts: 9
Karma: 10
Join Date: Feb 2012
Device: kindle 3
|
is their their going to be any calibre-server webgui auto convert option ?
or is the only way to convert via the PC Calibre GUI ? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automatic startup of calibre-server on Windows | zzmijarevic | Calibre | 17 | 04-02-2012 04:26 AM |
Automatic Web conversion to mobi/epub and send mail by Calibre | bthoven | Amazon Kindle | 0 | 11-14-2010 09:56 PM |
Classic Automatic Webblog conversion to epub by Calibre | bthoven | Barnes & Noble NOOK | 2 | 03-25-2010 06:18 AM |
Web Content Server | mezme | Calibre | 7 | 01-08-2010 09:59 PM |
Manga on Kindle/Cybook/V3 - Automatic Photoshop Image Conversion! | OsakaTom | Amazon Kindle | 25 | 03-12-2009 04:20 PM |