Этот коммит содержится в:
Simon Vieille 2019-07-25 10:03:45 +02:00
родитель 0d800b1a69
Коммит 0d77a94124
Подписано: deblan
Идентификатор ключа GPG: 03383D15A1D31745
2 изменённых файлов: 30 добавлений и 1 удалений

29
README.md Обычный файл
Просмотреть файл

@ -0,0 +1,29 @@
Mattermost BOT
==============
Read a RSS feed and post items in a mattermost channel.
Installation
------------
```bash
$ git clone https://gitnet.fr/deblan/mattermost-bot.git
$ cd mattermost-bot
$ cp config.ini.dist config.ini
```
### Example of `config.ini`
```ini
[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`.

Просмотреть файл

@ -6,4 +6,4 @@ file = 'cache.db'
[mattermost]
hook_url =
message_template =
message_template = "« %1$s » %2$s"