|
BasicUsage
Basic usage of daily-digest
Featured IntroductionUsage: dd.py options You can mix and match as many options as you want, and you can set all settings, add a feed, and begin processing all in one command. Basic Options:-h, --help Show this help message and exit -g, --go Reads and emails rss streams to the set accout. Uses stored settings. Run Modes:-v, --verbose print extended output info -q, --quiet turn verbose mode off Basic settings-u USERNAME, --username=USERNAME sets/changes the smtp username to send reports from -p PASSWORD, --password=PASSWORD sets/changes the smtp password of the account that sends reports -s SERVER, --server=SERVER your smtp server -t EMAILADDR, --to=EMAILADDR the target email address Feed Management-a URL, --add=URL add a feed to the list -l, --list displays a list of all the rss feeds -r URL, --remove=URL remove a feed from the list DetailsSTEP 1: BASIC SETTINGSTo use daily digest, you must first setup the required options. You can do so by running the program with the required command line options. For example: dd.py --username=your_smtp_username --password=your_smtp_password--server=mail.yourserver.com --to=you@somewhere.com Doing this will store your settings. You can change them at any time by using the appropriate command line option. For example: dd.py --username=different_smtp_username STEP 2: ADDING FEEDSTo add feeds, get the URL of the feed and execute the following command: dd.py -a URL You can list your feeds: dd.py -l And remove feeds (Input is the feed number, from the list): dd.py -r # STEP 3: GOTo scan your feeds and send the email, run dd.py as such: dd.py -g And that's it. Dump it in Crontab somewhere and let it go. Every time it sends, you'll get all the latest posts in an email. |