@halkeye/hubot-rss-reader
Version:
Hubot RSS Reader
72 lines (48 loc) • 1.79 kB
Markdown
Hubot RSS Reader
================
RSS Reader for each Chat Channels, works with Hubot.
[](https://circleci.com/gh/shokai/hubot-rss-reader)
- https://github.com/shokai/hubot-rss-reader
- https://www.npmjs.org/package/hubot-rss-reader

Requirements
------------
- coffee-script 1.10+
- hubot-brain
- recommend [hubot-mongodb-brain](http://npmjs.com/package/hubot-mongodb-brain).
Install
-------
% npm install hubot-rss-reader -save
% npm install coffee-script@">=1.10.0" -save
##
```json
["hubot-rss-reader"]
```
### Configure (ENV vars)
export DEBUG=hubot-rss-reader*
export HUBOT_RSS_INTERVAL=600 # 600 sec (default)
export HUBOT_RSS_HEADER=:sushi: # RSS Header Emoji (default is "sushi")
export HUBOT_RSS_USERAGENT=hubot # (default is "hubot-rss-reader/#{package_version}")
export HUBOT_RSS_PRINTSUMMARY=true
export HUBOT_RSS_PRINTIMAGE=false
export HUBOT_RSS_PRINTERROR=false
export HUBOT_RSS_IRCCOLORS=true
export HUBOT_RSS_LIMIT_ON_ADD=false
Usage
-----
##
hubot rss add https://github.com/shokai.atom
hubot rss register https://github.com/shokai.atom
##
hubot rss delete https://github.com/shokai.atom
hubot rss delete #room_name
##
hubot rss list
hubot rss dump
Test
----
% npm install
% grunt
% npm test