hubot-rss-reader
v0.8.3
Published
Hubot RSS Reader
Downloads
7
Readme
Hubot RSS Reader
RSS Reader for each Chat Channels, works with Hubot.
- 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.
Install
% npm install hubot-rss-reader -save
% npm install coffee-script@">=1.10.0" -save
edit external-script.json
["hubot-rss-reader"]
Configure (ENV vars)
export DEBUG=hubot-rss-reader* # debug print
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 # print summary (default is "true")
export HUBOT_RSS_PRINTIMAGE=false # print image in summary (default is "true")
export HUBOT_RSS_PRINTERROR=false # print error message (default is "true")
export HUBOT_RSS_IRCCOLORS=true # use IRC color message (default is "false")
export HUBOT_RSS_LIMIT_ON_ADD=false # limit printing entries on add new feed. (default is 5)
Usage
add
hubot rss add https://github.com/shokai.atom
# or
hubot rss register https://github.com/shokai.atom
delete
hubot rss delete https://github.com/shokai.atom
hubot rss delete #room_name
list
hubot rss list
hubot rss dump
Test
% npm install
% grunt
# or
% npm test