Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-31-2012, 03:21 AM   #1
kindleren
Member
kindleren began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
how to build a Push website using calibre

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 want to know ,how should I do ?

my website is based on php+apache+linux.

thanks in advance.

Last edited by kindleren; 01-31-2012 at 03:32 AM.
kindleren is offline   Reply With Quote
Old 01-31-2012, 03:58 AM   #2
kindleren
Member
kindleren began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
how to build a push website using calibre

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.
kindleren is offline   Reply With Quote
Advert
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: 30,928
Karma: 60358908
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
Old 02-01-2012, 06:42 AM   #4
kindleren
Member
kindleren began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
Quote:

Quote:
Originally Posted by theducks View Post
Use the CLI http://manual.calibre-ebook.com/cli/ebook-convert.html then mail the output file
Mr theducks,I'm so glad that you reply me.But I'm so sorry,I can not understand it.You say I can use CLI.But how could my php code call the CLI.
I hope you can explain it more detail.

Thank you very much.
kindleren is offline   Reply With Quote
Old 02-01-2012, 08:59 AM   #5
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
About ten seconds of using Google yielded this. If not that, use something similar.
Manichean is offline   Reply With Quote
Advert
Old 02-02-2012, 11:29 PM   #6
kindleren
Member
kindleren began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
thank

Quote:
Originally Posted by Manichean View Post
About ten seconds of using Google yielded this. If not that, use something similar.
Thank you..
kindleren is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Push Books from Calibre to K3; Tags Unrecognized xari Calibre 12 10-18-2010 12:17 AM
Build calibre-0.7.17 install issue PCreighton Calibre 1 09-03-2010 10:04 PM
Calibre 0.6.40 source - segfault after successful build on Linux Megatron-UK Calibre 7 02-20-2010 04:29 AM
How to build calibre in Debian Sid? tompe Calibre 10 05-06-2009 06:38 PM
I can't get calibre to build/install on 64 bit linux angevin Calibre 8 10-08-2008 04:10 PM


All times are GMT -4. The time now is 11:13 AM.


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