Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-26-2013, 08:19 AM   #1
247wd
Junior Member
247wd began at the beginning.
 
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 !
247wd is offline   Reply With Quote
Old 11-26-2013, 09:36 AM   #2
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 2,018
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
Quote:
Originally Posted by 247wd View Post
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.
Look at the commandline tools (ebook-convert especially).
mbovenka is offline   Reply With Quote
Advert
Old 11-28-2013, 01:44 AM   #3
247wd
Junior Member
247wd began at the beginning.
 
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?
247wd is offline   Reply With Quote
Old 11-28-2013, 02:48 AM   #4
247wd
Junior Member
247wd began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2013
Device: ipad
Solved from this link https://www.mobileread.com/forums/showthread.php?t=82334
247wd is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 01:35 AM.


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