@halkeye/hubot-rss-reader

Hubot RSS Reader ================ RSS Reader for each Chat Channels, works with Hubot.

Usage no npm install needed!

<script type="module">
  import halkeyeHubotRssReader from 'https://cdn.skypack.dev/@halkeye/hubot-rss-reader';
</script>

README

Hubot RSS Reader

RSS Reader for each Chat Channels, works with Hubot.

Circle CI

screen shot

Requirements

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