View Single Post
Old 02-03-2015, 07:32 PM   #3711
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,029
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Okay, attached is a new test version with code to fetch story URLs from your email.

First, you have to go into FFDL config on the new Email Settings tab and set your IMAP server, user and folder. You can also check whether you want FFDL to automatically make those emails read.

Your email account must allow IMAPS (IMAP with SSL). I've only tested with Gmail (a Google Apps account, actually).

The folder must already exist. Use INBOX for your... inbox, or the name of the label for a Gmail label.

Then there's a new menu option for "Get Story URLs to Download from Email". It works very nearly the same as "Get Story URLs to Download from Web Page". Errors are not handled terribly gracefully yet, nor is there any 'busy' indicator while it's working.

It asks for your email password the first time you use it each session. The password is discarded when you quit calibre or when you switch libraries, since different libraries have different settings.

WARNING There's very little data protect in Python--once you've given FFDL your password, any plugin or other part of calibre could read it if it knows to look for it.

Last edited by JimmXinu; 02-12-2015 at 12:42 PM. Reason: Remove obsolete test versions - replaced by newer test or released version.
JimmXinu is online now