rssgoemail is a script that watches multiple RSS (or Atom) feeds and sends out an email digest if a new entry is found. It is a fork of the script by Abdul Ibad which used to live at http://ibad.bebasbelanja.com
- PHP > 5.3
- a MySQL database
- a cronjob
- Clone this repo
git clone https://github.com/e-dschungel/rssgoemail
- Install simplepie using composer
composer install
- Create database using
config/rssgoemail.sql
- Rename
config/config.dist.php
toconfig/config.php
and edit it according to your needs, see below - Add a cronjob which accesses
rssgoemail.php
regularly
- Download
rssgoemail.zip
(NOTSource Code (zip)
orSource Code (tar.gz)
) from https://github.com/e-dschungel/rssgoemail/releases/latest - Extract and upload it to your webserver
- Create database using
config/rssgoemail.sql
- Rename
config/config.dist.php
toconfig/config.php
and edit it according to your needs, see below - Add a cronjob which accesses
rssgoemail.php
regularly
variable | description |
---|---|
$rge_config['dbHost'] | hostname of the database, localhost is very common |
$rge_config['dbUser'] | user used to connect to the database |
$rge_config['dbPass'] | password used to connect to the database |
$rge_config['dbBase'] | name of the database |
$rge_config['dbTable'] | name of the table |
$rge_config['emailTo'] | email adress of the reciepent of the email digest |
$rge_config['emailFrom'] | email adress shown as sender of the digest |
$rge_config['emailSubject'] | subject of the email digest |
$rge_config['errorInFeed'] | warning which is shown when the feed contains errors |
$rge_config['dateFormat'] | format of date and time, formatting specifiers like PHP's date function |
$rge_config['cacheDir'] | cache dir, needs to be writeable |
$rge_config['cacheTime'] | cache time in seconds, during this time no changes from feeds are recognized as the cached version is used |
$rge_config['feedUrls'] | array with URLs of RSS or Atom feeds to be watched |
- first public release (of this fork)
- upgrade to SimplePie 1.5
- switch to PDO for database access to make script compatible to PHP 7
- use SimplePie's internal hash functions (avoids duplicated emails)
- fix for special characters in feed title
- decreased default cache time to 1800 seconds, improved documentation on cacheTime