View Single Post
Old 01-31-2012, 06:55 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,135
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kindleren View Post
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
theducks is offline   Reply With Quote