No description
- PHP 100%
| .gitignore | ||
| config.ini.dist | ||
| index.php | ||
| README.md | ||
Mattermost BOT
Read a RSS feed and post items in a mattermost channel.
Installation
$ git clone https://gitnet.fr/deblan/mattermost-bot.git
$ cd mattermost-bot
$ cp config.ini.dist config.ini
Example of config.ini :
debug = false
[feed]
url = "https://www.example.com/feed/"
[cache]
file = 'cache.db'
[mattermost]
hook_url = "https://mattermost.example.com/hooks/1234567890abcdefghijklm"
message_template = "« %1$s » %2$s #foo #bar"
Then run php index.php.
You can specify the path of the configuration using the option -c : php index.php -c /path/to/config.ini.