11-26-2013, 08:19 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Nov 2013
Device: ipad
|
Calibre convert to html
Hello,
Is there any way I can use calibre from php script to automatically convert from epub, mobi, pdf , etc ... to html? I have a site and once user uploads a book, I want to create the html version of that book automatically with calibre. Thank you ! |
11-26-2013, 09:36 AM | #2 |
Wizard
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Look at the commandline tools (ebook-convert especially).
|
11-28-2013, 01:44 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Nov 2013
Device: ipad
|
Thank you.
I've installed it on Ubuntu. It gives me an error when trying to execute the command from php with shell_exec It says No write access to .config/calibre using a temporary dir instead. Anyone has any idea on this error? |
11-28-2013, 02:48 AM | #4 |
Junior Member
Posts: 3
Karma: 10
Join Date: Nov 2013
Device: ipad
|
Solved from this link https://www.mobileread.com/forums/showthread.php?t=82334
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre convert Chinese PDF to EPUB well, but not TXT and HTML | jimmyzou | ePub | 15 | 12-27-2013 04:02 PM |
Calibre does not convert HTML to MOBI completely | perchiper | Conversion | 1 | 09-03-2011 10:10 AM |
Convert HTML to MOBI (HTML recognized as ZIP file) | pdubois | Conversion | 1 | 01-25-2011 12:55 PM |
[Old Thread] unable to convert ebooks(rtf, txt,lit,html,pdf) to lrf in calibre .4.131 | jackdeth191 | Calibre | 9 | 05-02-2009 02:55 AM |
Why does Calibre need to go to the web to convert a zipped HTML file? | FizzyWater | Calibre | 4 | 06-30-2008 12:51 AM |