|12-27-2010, 03:26 PM||#1|
Join Date: Dec 2010
Device: Kindle 3G/Wifi
Auto send diff feeds to multiple devices tutorial
I saw a request for something like this so here we go...this will allow you to auto send different feeds to different devices (for windows).
I have two seperate custom news feeds (one for me, one for the wife) that I pull down and send to seperate email addresses (one for each K3). The Calibre GUI doesn't support this but the command line options work pretty well.
I've had to split it up into multiple batch files since the Calibre command lines force the batch files to end prematurely. Haven't seen the source code so I'm not really sure why that happens.
First to pull down the feed(s). Create one batch file for each feed you want to pull down. Obviously you'll want to use different names for the output files:
ebook-convert custom.recipe filename.mobi --output-profile=kindle
Now to send the feed(s). Create one batch file for each file you want to send:
calibre-smtp -r smtp.gmail.com --port 587 -u firstname.lastname@example.org -p password -a filename.mobi email@example.com firstname.lastname@example.org ""
Create a seperate task for each of the batch files. I put 20 mins between my feed_download.bat and feed_send.bat to give the downloads enough time to finish. I also have my BIOS turn on the system in the morning and a scheduled task to shut the system down after the files are sent.
If I could figure out why Calibre kills the batch files then I would combine all the ebook-convert and calibre-smtp commands into one batch file.
The command line options should be the same for *nix though you'll have to use a cronjob instead of the task scheduler (cron will probably work better).
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Possible to auto-send specific news feeds to different e-mail address using Calibre?||wattsmart||Calibre||12||08-06-2013 08:46 AM|
|Auto-Send No Longer Working||kitno84||Calibre||2||12-01-2010 03:08 AM|
|Auto-generate multiple formats||Tomte||Calibre||4||08-21-2010 02:23 PM|
|Auto Send books failed, no recover||jessie102||Calibre||1||01-28-2010 12:57 PM|