Quote:
Originally Posted by Bixel925
So I have recently discovered the CLI side of FFF. I was wondering if there was anyone here that could help me out in creating a script that would cause FFF to check my email (via IMAP) for any new stories.
|
It's not all that hard. Copied from defaults.ini:
Code:
[defaults]
## The FFF CLI can fetch story URLs from unread emails when configured
## to read from your IMAP mail server. The example shows GMail, but
## other services that support IMAP can be used. GMail requires you
## to turn on an option to enable IMAP access. Only the CLI uses these
## options--the Calibre Plugin stores these separately.
##
## It's safest if you create a separate email account that you use
## only for your story update notices. FanFicFare cannot guarantee
## that malicious code cannot get your email password once you've
## saved it. Use this feature at your own risk.
##
imap_server:imap.gmail.com
imap_username:youraddress@gmail.com
imap_password:XXXXXXXX
imap_folder:INBOX
Then you call the CLI with options
--download-imap and maybe
--update-epub depending.
BUT! Using the CLI does
not automatically update or add to your books in Calibre. CLI is generally meant for people who aren't using Calibre.
If you keep your fanfic library in Calibre it's a lot easier to configure IMAP downloads from the FFF plugin config dialog and do it from inside Calibre.