head 1.6;
access;
symbols
pkgsrc-2013Q2:1.5.0.18
pkgsrc-2013Q2-base:1.5
pkgsrc-2013Q1:1.5.0.16
pkgsrc-2013Q1-base:1.5
pkgsrc-2012Q4:1.5.0.14
pkgsrc-2012Q4-base:1.5
pkgsrc-2012Q3:1.5.0.12
pkgsrc-2012Q3-base:1.5
pkgsrc-2012Q2:1.5.0.10
pkgsrc-2012Q2-base:1.5
pkgsrc-2012Q1:1.5.0.8
pkgsrc-2012Q1-base:1.5
pkgsrc-2011Q4:1.5.0.6
pkgsrc-2011Q4-base:1.5
pkgsrc-2011Q3:1.5.0.4
pkgsrc-2011Q3-base:1.5
pkgsrc-2011Q2:1.5.0.2
pkgsrc-2011Q2-base:1.5
pkgsrc-2011Q1:1.4.0.2
pkgsrc-2011Q1-base:1.4
pkgsrc-2009Q4:1.3.0.20
pkgsrc-2009Q4-base:1.3
pkgsrc-2008Q4:1.3.0.18
pkgsrc-2008Q4-base:1.3
pkgsrc-2008Q3:1.3.0.16
pkgsrc-2008Q3-base:1.3
cube-native-xorg:1.3.0.14
cube-native-xorg-base:1.3
pkgsrc-2008Q2:1.3.0.12
pkgsrc-2008Q2-base:1.3
pkgsrc-2008Q1:1.3.0.10
pkgsrc-2008Q1-base:1.3
pkgsrc-2007Q4:1.3.0.8
pkgsrc-2007Q4-base:1.3
pkgsrc-2007Q3:1.3.0.6
pkgsrc-2007Q3-base:1.3
pkgsrc-2007Q2:1.3.0.4
pkgsrc-2007Q2-base:1.3
pkgsrc-2007Q1:1.3.0.2
pkgsrc-2007Q1-base:1.3
pkgsrc-2006Q4:1.2.0.20
pkgsrc-2006Q4-base:1.2
pkgsrc-2006Q3:1.2.0.18
pkgsrc-2006Q3-base:1.2
pkgsrc-2006Q2:1.2.0.16
pkgsrc-2006Q2-base:1.2
pkgsrc-2006Q1:1.2.0.14
pkgsrc-2006Q1-base:1.2
pkgsrc-2005Q4:1.2.0.12
pkgsrc-2005Q4-base:1.2
pkgsrc-2005Q3:1.2.0.10
pkgsrc-2005Q3-base:1.2
pkgsrc-2005Q2:1.2.0.8
pkgsrc-2005Q2-base:1.2
pkgsrc-2005Q1:1.2.0.6
pkgsrc-2005Q1-base:1.2
pkgsrc-2004Q4:1.2.0.4
pkgsrc-2004Q4-base:1.2
pkgsrc-2004Q3:1.2.0.2
pkgsrc-2004Q3-base:1.2
pkgsrc-base:1.1.1.1
TNF:1.1.1;
locks; strict;
comment @# @;
1.6
date 2013.07.02.01.13.30; author schmonz; state dead;
branches;
next 1.5;
commitid ia8ovORoEVw1IPVw;
1.5
date 2011.06.09.06.21.58; author schmonz; state Exp;
branches;
next 1.4;
1.4
date 2011.01.28.01.41.53; author schmonz; state Exp;
branches;
next 1.3;
1.3
date 2007.01.18.23.08.24; author schmonz; state dead;
branches;
next 1.2;
1.2
date 2004.06.30.20.19.35; author schmonz; state Exp;
branches;
next 1.1;
1.1
date 2004.06.27.23.00.34; author schmonz; state Exp;
branches
1.1.1.1;
next ;
1.1.1.1
date 2004.06.27.23.00.34; author schmonz; state Exp;
branches;
next ;
desc
@@
1.6
log
@Update to 3.5 (new upstream). From the changelog:
v3.5 (2013-06-05)
* Added digest generation and post-processing hooks.
* Fix html2text configuration (ignored since 2012-10-04).
* Fix opmlexport crash due to orphaned feed data.
* Use feed names in OPML 'text' attributes.
v3.4 (2013-05-14)
* Added post-processing hooks for user-specified message manipulation.
* Added settings for IMAP delivery. The old `use-smtp` boolean has
been replaced by a new `email-protocol` setting. Non-IMAP users
should adjust their configuration to set `email-protocol` to
either `sendmail` or `smtp`.
v3.3 (2013-04-13)
* Fix SMTP message submission logic.
* Fix error inheritence (super() calls).
* Convert html2text parsing errors to `ProcessingError`s.
* Cleanup html2text error handling.
* Drop Google Reader rel-via manipulation.
* Drop the wrapping
elements from HTML mail
v3.2 (2013-03-13)
* Use extended interpolation in configuration files, to allow percent signs (%).
* Added .as_string() fallback to email flattening (only used if
`use-smtp = False` and `use-8bit = True`).
* Added sendmail configuration option. Change this if you want to
use an alternative, sendmail-compatible mailer.
v3.1 (2013-02-14)
* Import __url__, __author__, and __email__ in rss2email.error,
which fixes bugs in formatting a number of errors.
v3.0 (2013-02-13)
* Changed project email (rss2email@@tremily.us) and homepage
(http://github.com/wking/rss2email).
* Split static configuration parameters into a ConfigParser-read
config file (rss2email.cfg). Data that depends on the feed state
is recorded using JSON (rss2email.json).
* Use the XDG Base Directory Specification for standardized
configuration and data file locations.
* Converted the command line interface to argparse, with some
restructuring along the way.
* Added the r2e.1 man page (based on one from the Debian package).
* Added setup.py and a PyPI page for simpler installation
(http://pypi.python.org/pypi/rss2email).
* Added Message-ID headers to outgoing email.
* Added a test suite.
* Upgraded to Python 3.2 to take advantage of cleaner Unicode
handling and argparse.
* Require Signed-off-by lines in new commit messages, following the
Linux and Git projects.
@
text
@$NetBSD: patch-aa,v 1.5 2011/06/09 06:21:58 schmonz Exp $
Missing sample config entries from the Debian package.
--- config.py.example.orig 2011-01-28 01:22:26.000000000 +0000
+++ config.py.example
@@@@ -92,3 +92,14 @@@@ 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
@
1.5
log
@Update to 2.71. From the changelog:
* Potentially safer method for writing feeds.dat on UNIX
* Handle via links with no title attribute
* Handle attributes more cleanly with OVERRIDE_EMAIL and DEFAULT_EMAIL
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.4 2011/01/28 01:41:53 schmonz Exp $
@
1.4
log
@Update to 2.70. From the changelog:
2.70 (2010-12-21)
* Improved handling of given feed email addresses to prevent mail
servers rejecting poorly formed Froms
* Added X-RSS-TAGS header that lists any tags provided by an entry,
which will be helpful in filtering incoming messages
2.69 (2010-11-12)
* Added support for connecting to SMTP server via SSL, see SMTP_SSL option
* Improved backwards compatibility by fixing issue with listing
feeds when run with older Python versions
* Added selective feed email overrides through OVERRIDE_EMAIL and
DEFAULT_EMAIL options
* Added NO_FRIENDLY_NAME to from from address only without the friendly name
* Added X-RSS-URL header in each message with the link to the original item
2.68 (2010-10-01)
* Added ability to pause/resume checking of individual feeds through
pause and unpause commands
* Added ability to import and export OPML feed lists through
importopml and exportopml commands
2.67 (2010-09-21)
* Fixed entries that include an id which is blank (i.e., an empty
string) were being resent
* Fixed some entries not being sent by email because they had bad From headers
* Fixed From headers with HTML entities encoded twice
* Compatibility changes to support most recent development versions
of feedparser
* Compatibility changes to support Google Reader feeds
2.66 (2009-12-21)
* Complete packaging of all necessary source files (rss2email,
html2text, feedparser, r2e, etc.) into one bundle
* Included a more complete config.py with all options
* Default to HTML mail and CSS results
* Added 'reset' command to erase history of already seen entries
* Changed project email and homepage
* Made exception and error output text more useful
* Added X-RSS-Feed and X-RSS-ID headers to each email for easier filtering
* Improved enclosure handling
* Fixed MacOS compatibility issues
@
text
@d1 3
a3 1
$NetBSD$
@
1.3
log
@Instead of creating files from patches, place them readably in
${FILESDIR} for easier tracking of external changes (e.g., Debian,
whence they came). No functional change.
@
text
@d1 1
a1 1
$NetBSD: patch-aa,v 1.2 2004/06/30 20:19:35 schmonz Exp $
d3 8
a10 5
--- config.py.orig 2004-06-30 15:33:08.000000000 -0400
+++ config.py
@@@@ -0,0 +1,27 @@@@
+# The email address messages are from by default:
+DEFAULT_FROM = "bozo@@dev.null"
d12 2
a13 3
+# 1: Only use the DEFAULT_FROM address.
+# 0: Use the email address specified by the feed, when possible.
+FORCE_FROM = 0
d15 2
a16 3
+# 1: Receive HTML mail
+# 0: Have entries converted to plain text
+HTML_MAIL = 1
d18 2
a19 16
+# 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
+
+# 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.2
log
@Update to 2.51. From the changelog for 2.5:
* An HTML mail option.
* SMTP support.
* html2text 2.0.
* A gaggle of bug fixes.
* A gaggle of small improvements.
And for 2.51:
* Fixes a crash in older versions of Python on slow feeds.
pkgsrc changes:
* Set the versions of rss2email.py and html2text.py in one place.
@
text
@d1 1
a1 1
$NetBSD$
@
1.1
log
@Initial revision
@
text
@d3 1
a3 1
--- config.py.orig 2004-06-27 17:49:51.000000000 -0400
d13 4
a24 4
+# 1: Treat the contents of as HTML
+# 0: Send the contents of as is, without conversion
+TREAT_DESCRIPTION_AS_HTML = 1
+
@
1.1.1.1
log
@Import rss2email 2.32.
rss2email is a simple Python script that lets you subscribe to a
list of XML newsfeeds and get new items sent to you by email.
The man page and sample config file are from the Debian package.
@
text
@@