--- rss2email-2.61.orig/r2e +++ rss2email-2.61/r2e @@ -1,3 +1,16 @@ #!/bin/sh -cd ~/.rss2email/ -python rss2email.py feeds.dat $* +set -e +dir=~/.rss2email +if [ "$1" = "-d" ]; then + if [ -z "$2" ]; then + echo "r2e: -d missing directory" >&2 + exit 1 + fi + dir="$2" + shift 2 +fi +if [ ! -d "$dir" ]; then + mkdir -p "$dir" +fi +cd "$dir" +exec python /usr/share/rss2email/rss2email.py feeds.dat $* --- rss2email-2.61.orig/config.py +++ rss2email-2.61/config.py @@ -1,5 +1,81 @@ -SMTP_SEND = 1 -SMTP_SERVER = "my.mailserver.com" -AUTHREQUIRED = 0 -SMTP_USER="username" -SMTP_PASS="password" +### Vaguely Customizable Options ### + +# The email address messages are from by default: +DEFAULT_FROM = "bozo@dev.null.invalid" + +# 1: Send text/html messages when possible. +# 0: Convert HTML to plain text. +HTML_MAIL = 0 + +# 1: Only use the DEFAULT_FROM address. +# 0: Use the email address specified by the feed, when possible. +FORCE_FROM = 0 + +# 1: Receive one email per post +# 0: Receive an email every time a post changes +TRUST_GUID = 1 + +# 1: Generate Date header based on item's date, when possible +# 0: Generate Date header based on time sent +DATE_HEADER = 0 + +# A tuple consisting of some combination of +# ('issued', 'created', 'modified', 'expired') +# expressing ordered list of preference in dates +# to use for the Date header of the email. +DATE_HEADER_ORDER = ('modified', 'issued', 'created') + +# 1: Apply Q-P conversion (required for some MUAs). +# 0: Send message in 8-bits. +# http://cr.yp.to/smtp/8bitmime.html +QP_REQUIRED = 0 + +# 1: Name feeds as they're being processed. +# 0: Keep quiet. +VERBOSE = 0 + +# 1: Use the publisher's email if you can't find the author's. +# 0: Just use the DEFAULT_FROM email instead. +USE_PUBLISHER_EMAIL = 0 + +# 1: Use SMTP_SERVER to send mail. +# 0: Call /usr/sbin/sendmail to send mail. +SMTP_SEND = 0 + +SMTP_SERVER = "smtp.yourisp.net:25" +AUTHREQUIRED = 0 # if you need to use SMTP AUTH set to 1 +SMTP_USER = ' username' # for SMTP AUTH, set SMTP username here +SMTP_PASS = 'password' # for SMTP AUTH, set SMTP password here + +# Set this to add a bonus header to all emails (start with '\n'). +BONUS_HEADER = '' +# Example: BONUS_HEADER = '\nApproved: joe@bob.org' + +# Set this to override From addresses. Keys are feed URLs, values are new titles. +OVERRIDE_FROM = {} + +# Set this to override the timeout (in seconds) for feed server response +FEED_TIMEOUT = 60 + +# Optional CSS styling +USE_CSS_STYLING = 0 +STYLE_SHEET='h1 {font: 18pt Georgia, "Times New Roman";} body {font: 12pt Arial;} a:link {font: 12pt Arial; font-weight: bold; color: #0000cc} blockquote {font-family: monospace; } .header { background: #e0ecff; border-bottom: solid 4px #c3d9ff; padding: 5px; margin-top: 0px; color: red;} .header a { font-size: 20px; text-decoration: none; } .footer { background: #c3d9ff; border-top: solid 4px #c3d9ff; padding: 5px; margin-bottom: 0px; } #entry {border: solid 4px #c3d9ff; } #body { margin-left: 5px; margin-right: 5px; }' + +# If you have an HTTP Proxy set this in the format 'http://your.proxy.here:8080/' +PROXY="" + +# To most correctly encode emails with international characters, we iterate through the list below and use the first character set that works +# Eventually (and theoretically) ISO-8859-1 and UTF-8 are our catch-all failsafes +CHARSET_LIST='US-ASCII', 'BIG5', 'ISO-2022-JP', 'ISO-8859-1', 'UTF-8' + + +## html2text options ## + +# Use Unicode characters instead of their ascii psuedo-replacements +UNICODE_SNOB = 0 + +# Put the links after each paragraph instead of at the end. +LINKS_EACH_PARAGRAPH = 0 + +# Wrap long lines at position. 0 for no wrapping. (Requires Python 2.3.) +BODY_WIDTH = 0 --- rss2email-2.61.orig/html2text.py +++ rss2email-2.61/html2text.py @@ -262,6 +262,7 @@ if attrs.has_key('src'): attrs['href'] = attrs['src'] alt = attrs.get('alt', '') + alt = re.sub('\n', ' ', alt) i = self.previousIndex(attrs) if i is not None: attrs = self.a[i] --- rss2email-2.61.orig/rss2email.py +++ rss2email-2.61/rss2email.py @@ -188,6 +188,11 @@ i, o = os.popen2(["/usr/sbin/sendmail", recipient]) i.write(msg_as_string) i.close(); o.close() + pid, status = os.wait() + if status != 0: + print >>warn, "" + print >>warn, ('Fatal error: sendmail exited with code %s' % status) + sys.exit(1) del i, o return None @@ -206,7 +211,7 @@ # Read options from config file if present. import sys -sys.path.append(".") +sys.path.insert(0,".") try: from config import * except: @@ -218,8 +223,7 @@ unix = 0 try: import fcntl - if sys.version.find('sunos') == -1: - unix = 1 + unix = 1 except: pass @@ -456,6 +460,7 @@ def run(num=None): feeds, feedfileObject = load() + smtpserver = None try: # We store the default to address as the first item in the feeds list. # Here we take it out and save it for later. @@ -465,8 +470,6 @@ if num: ifeeds = [feeds[num]] - smtpserver = None - for f in ifeeds: try: if VERBOSE: print >>warn, "I: Processing", f.url --- rss2email-2.61.orig/debian/NEWS +++ rss2email-2.61/debian/NEWS @@ -0,0 +1,7 @@ +rss2email (2.30-1) unstable; urgency=low + + WARNING: This update will cause a lot of resends the first time you run it. + To protect against this, run the old version, upgrade, and immediately run + it with the --no-send option. + + -- Joey Hess Wed, 11 Feb 2004 18:26:10 -0500 --- rss2email-2.61.orig/debian/README.Debian +++ rss2email-2.61/debian/README.Debian @@ -0,0 +1 @@ +Please see the man page for r2e for details on using rss2email. --- rss2email-2.61.orig/debian/changelog +++ rss2email-2.61/debian/changelog @@ -0,0 +1,405 @@ +rss2email (1:2.61-1) unstable; urgency=low + + * New upstream release. + - Now really compatible with SunOS + - Don't wrap long subject headers + - New parameter CHARSET_LIST to override or supplement the order in + which charsets are tried against an entry + - Don't use blank content to generate id + - Using GMail as mail server should work + * html2text also updated, to version 2.29 + * Added Homepage field. + * Moved to git. + * Remove upstream's dos CR's at install time. + + -- Joey Hess Fri, 07 Dec 2007 20:44:06 -0500 + +rss2email (1:2.60-6) unstable; urgency=low + + * Patch from Martin Krafft to fix a case where the smtpserver variable could + be defined before being used. Closes: #439930 + * Patch from Rainer Koenig to stop line wrapping in very long subject lines. + Closes: #383594 + + -- Joey Hess Tue, 28 Aug 2007 13:42:30 -0400 + +rss2email (1:2.60-5) unstable; urgency=low + + * Don't allow config.py elsewhere in the search path to be loaded instead + of the user's config.py. Thanks, Thomas Fogwill. Closes: #428812 + + -- Joey Hess Thu, 14 Jun 2007 11:45:58 -0400 + +rss2email (1:2.60-4) unstable; urgency=low + + * Add a -d option to r2e that can be used to make it use a different + directory for its config.dat and feeds. Closes: #425953 + + -- Joey Hess Fri, 25 May 2007 13:44:04 -0400 + +rss2email (1:2.60-3) unstable; urgency=low + + * Check exit status of sendmail, and die if it fails. Closes: #402725 + + -- Joey Hess Wed, 13 Dec 2006 14:34:42 -0500 + +rss2email (1:2.60-2) unstable; urgency=low + + * ACK aba's NMU. + + -- Joey Hess Wed, 13 Dec 2006 14:09:08 -0500 + +rss2email (1:2.60-1.1) unstable; urgency=high + + * Non-maintainer upload. + * Use fcntl even on non-Sunos-Unix, i.e. Debian. Closes: #401077 + + -- Andreas Barth Sat, 9 Dec 2006 21:41:02 +0000 + +rss2email (1:2.60-1) unstable; urgency=low + + * New upstream release, including the change in -3 below and a few other + small changes. + + -- Joey Hess Fri, 25 Aug 2006 23:19:20 -0400 + +rss2email (1:2.59-3) unstable; urgency=low + + * Patch from Tatsuya Kinoshita to make it not add quotes around + a sender name, since if the name gets mime-encoded, the quotes will result + in an invalid encoding. + + -- Joey Hess Thu, 24 Aug 2006 17:05:01 -0400 + +rss2email (1:2.59-2) unstable; urgency=low + + * Use python-support for python transition. Closes: #380937 + + -- Joey Hess Thu, 10 Aug 2006 18:26:01 -0400 + +rss2email (1:2.59-1) unstable; urgency=low + + * New upstream release: + - Support for listing urls for podcast enclosures + - Timeout for nonresponsive feeds (Closes: #362649) + - Configurable CSS styling for HTML mail + - Improved empty feed checking + - Improved invalid feed messages + • - Total rewrite of email code that should fix encoding problems + (Closes: #361902) + • - Added configurable timeout for nonresponsive feeds + • - Fixed incorrectly using text summary_detail instead of html + content + - Fixed bug with deleting feed 0 if no default email was set + - Print name of feed that is being deleted + * New web site. + * Document new FEED_TIMEOUT, USE_CSS_STYLING, STYLE_SHEET, and PROXY config + variables in config.py. + * Add missing build target to rules file. + * Current standards version. + + -- Joey Hess Mon, 19 Jun 2006 16:39:28 -0400 + +rss2email (1:2.57-1) unstable; urgency=low + + * New upstream release, now including all the patches I've collected for + this package. + "fixes a slew of reliability and other bugs" + + -- Joey Hess Fri, 7 Apr 2006 18:26:47 -0400 + +rss2email (1:2.56-1) unstable; urgency=low + + * New upstream release + "SMTP AUTH, Windows support, HTML in titles. First version by Lindsey + Smith." + + -- Joey Hess Tue, 4 Apr 2006 19:57:55 -0400 + +rss2email (1:2.55.dfsg1-2) unstable; urgency=low + + * Update html2text to version 2.24. + + -- Joey Hess Thu, 16 Mar 2006 12:52:19 -0500 + +rss2email (1:2.55.dfsg1-1) unstable; urgency=low + + * Remove feedparser.py from this package and depend on the new + python-feedparser package. Closes: #345352 + * Repacked the upstream tarball since the feedparser included in it turns + out to be invalidly licensed. + * Version number munge so new repacked tarball will be accepted. + + -- Joey Hess Fri, 30 Dec 2005 14:16:02 -0500 + +rss2email (1:2.55-6) unstable; urgency=low + + * Current policy. + * Fix perms of python libs + + -- Joey Hess Sun, 18 Dec 2005 17:12:03 -0500 + +rss2email (1:2.55-5) unstable; urgency=low + + * Document num parameter to run subcommand. Closes: #340425 + + -- Joey Hess Sun, 27 Nov 2005 15:58:27 -0500 + +rss2email (1:2.55-4) unstable; urgency=low + + * Remove the detailed and outdated description of the config file from + the man page. Closes: #328231 + + -- Joey Hess Tue, 8 Nov 2005 15:26:25 -0500 + +rss2email (1:2.55-3) unstable; urgency=low + + * Man page patch from Florian Ernst. Closes: #334043 + + -- Joey Hess Sat, 15 Oct 2005 13:59:17 -0400 + +rss2email (1:2.55-2) unstable; urgency=low + + * Patch from Stephane Bortzmeyer to add support for the official namespace + of Atom 1.0. Closes: #333490 + + -- Joey Hess Wed, 12 Oct 2005 19:56:29 -0400 + +rss2email (1:2.55-1) unstable; urgency=low + + * New upstream release of rss2email ("datetime parsing bug"). + * Also updates html2text to version 2.23 and feedparser to pre-3.4-. + + -- Joey Hess Wed, 3 Aug 2005 14:06:19 -0400 + +rss2email (1:2.54-7) unstable; urgency=low + + * Patch from Tatsuya Kinoshita to workaround mimify behavior that adds a + newline to subject line if it contains very long words. Closes: #320185 + + -- Joey Hess Wed, 27 Jul 2005 22:55:15 -0400 + +rss2email (1:2.54-6) unstable; urgency=low + + * Patch from tbm to fix crash in list if there is a feed with no address, + and no default address is set. Closes: #310485 + * Patch from tbm to fix crash when web serveracepts connection but + thenimmediatly closes it. Closes: #312067 + + -- Joey Hess Sat, 18 Jun 2005 23:07:50 -0400 + +rss2email (1:2.54-5) unstable; urgency=low + + * Patch from tbm to fix unexpected code byte problem in utf8 codec + by passing "replace" to utf_8_decode. Closes: #313097 + * Patch from tbm to avoid backtraces when too few or wrong arguments + are given, and instead display useful error messages. Closes: #313099 + * Patch from tbm to make delete more reliable, so it no longer allows you + to: remove the default email address ('feed' 0) and thereby hose your + feed file, 'remove' entries that don't exist without warning; and so + it only says IDs have changed when they really have. Closes: #313101 + + -- Joey Hess Fri, 17 Jun 2005 14:11:46 -0400 + +rss2email (1:2.54-4) unstable; urgency=low + + * Patch from tbm to support --help without an E: message. Closes: #310482 + * Patch from tbm to avoid backtrace when adding a feed if no default + email address is defined. Closes: #310487 + * Patch from tbm to ignore or if no list is open, rather + than crashing on such a buggy feed. Closes: #303298 + + -- Joey Hess Tue, 24 May 2005 13:10:03 -0400 + +rss2email (1:2.54-3) unstable; urgency=low + + * Add approximatly useless README.Debian. What's another inode? + Closes: #305534 + * Patch from tbm to fail with a useful error message if the feeds file does + not exist. Closes: #309867 + * Arch indep build depends fiddling. + + -- Joey Hess Fri, 20 May 2005 19:37:15 -0400 + +rss2email (1:2.54-2) unstable; urgency=low + + * Patched html2text to kill newline in alt tags. Closes: #299027 + + -- Joey Hess Sat, 12 Mar 2005 00:34:46 -0500 + +rss2email (1:2.54-1) unstable; urgency=low + + * New upstream release: + "HTML descriptions, text wrapping, Python 2.1, and more!" + - Adds back word wrapping support. Closes: #265514 + - Incorporates liw's patch and several others. + * Update config.py. + * Update feed parser home page. + + -- Joey Hess Fri, 27 Aug 2004 16:42:25 -0400 + +rss2email (1:2.51-6) unstable; urgency=low + + * Patch from Lars Wirzenius to properly encode the From and Subject in + 7-bit ascii. Closes: #265350 + + -- Joey Hess Thu, 12 Aug 2004 21:47:44 -0300 + +rss2email (1:2.51-5) unstable; urgency=low + + * sendmail comment typo fix. Closes: #259691 + + -- Joey Hess Mon, 19 Jul 2004 16:34:21 -0400 + +rss2email (1:2.51-4) unstable; urgency=low + + * Upgrade to feedparser 3.3. Closes: #259621 + + -- Joey Hess Mon, 19 Jul 2004 15:10:22 -0400 + +rss2email (1:2.51-3) unstable; urgency=low + + * Fix a typo that broke adding feeds with email addresses. Closes: #259360 + + -- Joey Hess Wed, 14 Jul 2004 10:59:32 -0400 + +rss2email (1:2.51-2) unstable; urgency=low + + * Updated to feedparser version "3.2-", fixes a crash wih feeds in some + character encodings. + + -- Joey Hess Wed, 30 Jun 2004 18:38:34 -0400 + +rss2email (1:2.51-1) unstable; urgency=low + + * New upstream release: "Fixes a crash in older versions of Python on slow + feeds" + + -- Joey Hess Mon, 28 Jun 2004 21:21:04 -0400 + +rss2email (1:2.5-1) unstable; urgency=low + + * New upstream release. + - Fix various crashes. Closes: #235135, #242440, #241642 + - The default from address uses the .invalid tld now. Closes: #253284 + - Uses author email addresses from RSS/Atom files. Closes: #234630 + (patch from LIW) + - Expand ndash entity. Closes: #237693 + - Added http basicauth support. Closes: #249648 (just include user and + password in URL) + - Fix problem with empty descriptions. Closes: #249385 + - No more debian diff for rss2email.py, html2text.py. + * Use an epoch to fix the version number. + * Updated urls in copyright file. + * Update config.py, including html2text options UNICODE_SNOB and + LINKS_EACH_PARAGRAPH. + + -- Joey Hess Mon, 28 Jun 2004 13:54:08 -0400 + +rss2email (2.30-4) unstable; urgency=low + + * Minor manpage fix. + * Document all the config.py options in the manpage. Closes: #247144 + + -- Joey Hess Mon, 26 Apr 2004 23:23:16 -0400 + +rss2email (2.30-3) unstable; urgency=low + + * Man page improvements from liw. Closes: #234634 + + -- Joey Hess Wed, 25 Feb 2004 13:13:10 -0500 + +rss2email (2.30-2) unstable; urgency=low + + * Make rss2email.py display usage help for r2e. Closes: #233554 + * Remove mention of old channels.txt from man page. Closes: #233555 + + -- Joey Hess Wed, 18 Feb 2004 18:03:54 -0500 + +rss2email (2.30-1) unstable; urgency=low + + * New upstream release: "Far more robust (saves on crash, catches more + errors, atomic saves). Fix for Unicode crash. Use guid instead of link + for seen frame." + Closes: #232257 + * Add NEWS.Debian for the upgrade warning. + * Version number munge; this is 2.3 upstream. + + -- Joey Hess Wed, 11 Feb 2004 18:26:10 -0500 + +rss2email (2.28-1) unstable; urgency=low + + * New upstream releases: + 2.27 "DATE_HEADER option (makes emails look as if they were sent when the + item was posted), better error reporting, `r2e list` doesn't lock, + fix for no-download crash. Tx Alan D." + 2.28 "--no-send option for run, fixed FORCE_FROM. Tx Alan D." + * Update manpage and config.py. + + -- Joey Hess Mon, 2 Feb 2004 16:13:44 -0500 + +rss2email (2.26-1) unstable; urgency=low + + * New upstream releases: + 2.24 "Possible fix for process leak. Tx Alan Danziger." + 2.25 "Quote email address names. Tx Alan Danziger, qmail." + 2.26 "Fix for typo, email replacement. Added VERBOSE, FORCE_FROM + options and redirect support. Tx Alan D., Pete Prodoehi, Matej." + * Add VERBOSE and FORCE_FROM to config.py. + * Re-disabled the xml validation stuff in rssparser, lost when I renamed it. + + -- Joey Hess Fri, 30 Jan 2004 18:57:21 -0500 + +rss2email (2.23-1) unstable; urgency=low + + * New upstream release. ("Fix for empty link tags.") + + -- Joey Hess Fri, 30 Jan 2004 13:49:08 -0500 + +rss2email (2.22-2) unstable; urgency=low + + * Fix accidental dep on python2.2. + * Modify feedparser to work with python 2.1 as well as 2.2 and 2.3, + patch from Aaron. + + -- Joey Hess Thu, 29 Jan 2004 17:08:48 -0500 + +rss2email (2.22-1) unstable; urgency=low + + * New upstream release. ("Added QP support, fix for empty GUIDs, and + fix for major default email bugs.") + * Update config.py. + + -- Joey Hess Thu, 29 Jan 2004 14:08:35 -0500 + +rss2email (2.2-1) unstable; urgency=low + + * New upstream release. ("Added default email support, backwards-compatible. + Tx Matej Cepl.") + * Fix typo in docstring. + * Update man page. + + -- Joey Hess Thu, 29 Jan 2004 13:32:05 -0500 + +rss2email (2.1-1) unstable; urgency=low + + * New upstream release, incorporating all my patches to rss2email.py. + * Last release forgot to close the WNPP bug, so this Closes: #229286 + + -- Joey Hess Wed, 28 Jan 2004 22:59:39 -0500 + +rss2email (2.0-1) unstable; urgency=low + + * Gathered the package from various sources, as explained in the copyright + file, and thus built the .orig.tar.gz. + * Commented out the xml.sax validation stuff in the feedparser, after + discovering that python's xml parser is buggy, and crashes on some rss + feeds. + * Wrote a man page. + * Add a User-Agent header to the mails. + * Read config.py if available. + * Modified r2e to cd to ~/.rss2email (making the directory first if + necessary) before running rss2email, so the data file and config.py can + be in their own subdirectory. + + -- Joey Hess Fri, 23 Jan 2004 20:48:59 -0500 --- rss2email-2.61.orig/debian/compat +++ rss2email-2.61/debian/compat @@ -0,0 +1 @@ +4 --- rss2email-2.61.orig/debian/control +++ rss2email-2.61/debian/control @@ -0,0 +1,17 @@ +Source: rss2email +Section: mail +Priority: optional +Maintainer: Joey Hess +Build-Depends: debhelper (>= 4.1.24) +Build-Depends-Indep: python, python-dev, python-support (>= 0.4) +Standards-Version: 3.7.2 +Vcs-Git: git://git.kitenet.net/joey/packages/rss2email +Homepage: http://rss2email.infogami.com/ + +Package: rss2email +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-feedparser +Description: receive RSS feeds by email + rss2email is a simple program which you can run in your crontab. + It watches RSS (or Atom) feeds and sends you a nicely formatted + email message for each new item. --- rss2email-2.61.orig/debian/copyright +++ rss2email-2.61/debian/copyright @@ -0,0 +1,9 @@ +This package was put together by Joey Hess , using sources +from the following location: + + http://rss2email.infogami.com/ + +rss2email, r2e, and the html2text module are Copyright (C) 2004-2007 Aaron +Swartz, and licensed under the terms of version 2 of the GPL. The GNU +GPL may be found on Debian systems in the file +/usr/share/common-licenses/GPL-2. --- rss2email-2.61.orig/debian/rules +++ rss2email-2.61/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f + +clean: + dh_testdir + dh_testroot + dh_clean *.pyc + +build: + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_install r2e usr/bin + dh_install html2text.py rss2email.py usr/share/rss2email + chmod 644 debian/rss2email/usr/share/rss2email/* + perl -i -pe 's/\r//' debian/rss2email/usr/share/rss2email/* + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples config.py + dh_installman r2e.1 + dh_compress + dh_fixperms + dh_pysupport + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- rss2email-2.61.orig/r2e.1 +++ rss2email-2.61/r2e.1 @@ -0,0 +1,77 @@ +.TH R2E 1a +.SH NAME +r2e \- receive RSS feeds by email +.SH SYNOPSIS +.B r2e [-d dir] action [options] +.SH DESCRIPTION +.BR r2e +is a simple program which you can run in your crontab. +It watches RSS feeds and sends you nicely formatted email message +for each new item. +.P +The program is configured by ~/.rss2email/config.py by default. To use +a different config file in a different directory, you can specify the +-d option before any actions. +.P +For a quick start with r2e, try these steps: +.P +.RS +.nf +.BI "r2e new " your@address +.BI "r2e add " http://feed.url/somewhere.rss +.BI "r2e run " +.RE +.P +The last command should eventually be put into your crontab, if you +want things be sent you automatically. +.SH ACTIONS +.TP +.B new [youremail] +Create a new feedfile. If the second option is specified, it sets the +default email address that mails are sent to. +.TP +.B add url [youremail] +Subscribe to a feed. The first option is the URL of the feed. +The optional second option is the email address to send new items to. +Repeat for each feed you want to subscribe to. +.TP +.B run [--no-send] [num] +Scan the feeds and send emails for new items. This can be run in a cron +job. +.P +The --no-send option stops r2e from sending any email. This can be +useful the first time you run it, as otherwise it would send every +available story. +.P +If a number is specified, r2e will only download that feed. The list +command lists the feed numbers. +.TP +.B email yournewemail +Change the default email address. +.TP +.B list +List all your currently subscribed feeds. +.TP +.B delete n +Delete a feed, using its number from the list command. +.SH "CONFIGURATION" +The program's behavior can be controlled via the ~/.rss2email/config.py +config file. The file is a python file, so variables are set using a syntax +like this: VARIABLE = "value" +.P +If the value is a number, the quotes may be omitted. Most configuration +variables in the file are boolean values, where a 1 indicates the option is +set, and a 0 disables it. +.P +See the example config.py file for a full list of available configuration +variables. +.SH FILES +.TP +.B ~/.rss2email/feeds.dat +The database of feeds. Use r2e to add, remove, or modify feeds, do not edit +it directly. +.TP +.B ~/.rss2email/config.py +If this file exists, it it read to configure the program. +.SH AUTHOR +Aaron Swartz