Quote:
Originally Posted by kindleren
hey, I'm a new calibre user.Now ,i want to build a website that can push content to people's kindle.I've got some problems,i need help.
I send mail (E-mail attachments format is xml) to kindle,and the content is garbled on kindle.So i need use calibre's Format conversion function,conversion XML format into mobi format or other format,then mail it to kindle,I hope this kind of transformation should be automatic,I mean if I can use some way to make calibre service for my website. maybe there is some API that can be used.
I don't know whether I express it clearly.
For example:
when users access to my web site,subscribe a document,my website can push the document to user's kindle.so website need conversion the document's format into mobi format.
I want to know ,how could I do ?
my website is based on php+apache+linux.
thanks in advance.
|
Use the CLI
http://manual.calibre-ebook.com/cli/ebook-convert.html then mail the output file