https://wiki.archlinux.org/api.php?action=feedcontributions&user=Vando&feedformat=atomArchWiki - User contributions [en]2024-03-29T11:09:59ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Rss2email&diff=150123Rss2email2011-07-28T13:18:29Z<p>Vando: /* Getting RSS Feeds */</p>
<hr />
<div>[[Category:Email Client (English)]]<br />
<!-- {{i18n|Rss2email}} (hide i18n until at least 1 translation exists --><br />
<br />
{{Article summary start}}<br />
{{Article summary text|An overview of the RSS feed reader program that lets users read RSS feeds from their inboxes.}}<br />
{{Article summary end}}<br />
<br />
'''rss2email''' is a free tool for retrieving content from RSS feeds and mailing it. It is useful for those who don't want yet another program with which to keep up and for people who have a system for e-mail management that they would like to apply to their RSS feeds as well. People with lots of e-mail often have highly customized systems that let them process their mail efficiently; rss2email allows them to easily apply this system to their feeds as well.<br />
<br />
==Installation==<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=16605 rss2email] from the [[AUR]].<br />
<br />
==Adding Feeds==<br />
<br />
First, tell rss2email where it should send feeds by running the command:<br />
<br />
$ r2e new user@example.com<br />
<br />
Next, subscribe to an RSS feed. For example, to subscribe to the Arch Linux package updates feed, run:<br />
<br />
$ r2e add http://www.archlinux.org/feeds/packages/ ''e-mail address''<br />
<br />
Note that an e-mail address only has to be given if the feed is to be delivered to an address other than the default one; otherwise, leaving off the e-mail address is acceptable.<br />
<br />
After a new feed is added, rss2email will e-mail every post it hasn't previously e-mailed. The first time it is run, therefore, it will e-mail every post. To avoid this behavior, after adding a new feed, run:<br />
<br />
$ r2e run --no-send<br />
<br />
==Getting RSS Feeds==<br />
<br />
To get new stories, execute the command:<br />
<br />
$ r2e run<br />
<br />
To automate this process and have rss2email check for new feeds every 30 minutes, users should add the following to their {{Codeline|[[crontab]]}} by running the command {{Codeline|crontab -e}} and appending to the file:<br />
<br />
*/30 * * * * /usr/bin/r2e run<br />
<br />
==Managing rss2email==<br />
<br />
To view feeds previously added to rss2email, run:<br />
<br />
r2e list<br />
<br />
This will output a numbered list of feeds. To delete a feed, run:<br />
<br />
r2e delete ''number''<br />
<br />
where ''number'' is the number of the feed to be deleted.<br />
<br />
To change the default e-mail address, run:<br />
<br />
r2e email new_address@example.net<br />
<br />
==Advanced Configuration==<br />
<br />
The following configuration changes should be made in {{Codeline|config.py}}, which should be located at {{Codeline|~/.rss2email/config.py}}.<br />
<br />
To have RSS entries sent as HTML e-mails instead of as plain text, set:<br />
<br />
HTML_MAIL = 1<br />
<br />
To receive new e-mails when RSS posts are updated, set:<br />
<br />
TRUST_GUID = 0<br />
<br />
To set the date header of e-mails to when the RSS post was written, rather than when the e-mail is actually sent, set:<br />
<br />
DATE_HEADER = 1<br />
<br />
To fix the error message "sender domain must exist" or to change the address from which e-mails are sent, set:<br />
<br />
DEFAULT_FROM = user@example.com<br />
<br />
To force all feeds to use this address, even if they have their own address set, use:<br />
<br />
FORCE_FROM = 1<br />
<br />
To have rss2email automatically wrap long lines, set:<br />
<br />
BODY_WIDTH = 72<br />
<br />
Where 72 is the number of characters after which rss2email should start a new line.<br />
<br />
To send mail using an SMTP server rather than the local machine, use:<br />
<br />
SMTP_SEND = 1<br />
SMTP_SERVER = "smtp.example.com:25"<br />
<br />
If the SMTP server requires authentication, set:<br />
<br />
AUTHREQUIRED = 1<br />
SMTP_USER = "user@example.com"<br />
SMTP_PASS = "password"<br />
<br />
==More Information==<br />
<br />
More information on rss2email can be found on its official [http://www.allthingsrss.com/rss2email/?page_id=31#unix getting started] page as well as in [http://www.linux.com/archive/feed/50469 this] linux.com article.</div>Vando