Rocket.chat: RSS integration into channels

Created on 24 Sep 2015  路  12Comments  路  Source: RocketChat/Rocket.Chat

have RSS Feed pushed into a channel, like news, events, etc.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Request integration / plugin

Most helpful comment

Is there a simple tutorial on how-to do this? or do I really have to go to this channel and ask? :)) thanks

All 12 comments

Would this be something better suited for hubot-rocketchat to handle instead? ie: https://www.npmjs.com/package/hubot-rss-reader ...

:+1: Relieves the chat server of the work load, and helps to keep the RSS fetch/process code simple and independent.

Hi,

That's exactly what I'm trying to setup, but that script isn't on hubot-scripts. How do you add other scripts to the internal hubot ? That doesn't seem to be documented.

+1

+1

use hubot for this, it shouldn't be in core. there's plenty of rss modules for hubot.

I agree with @jszaszvari. This is nothing that should be included in the core of Rocket.Chat, there's plenty of possibilities to get content into Rocket.Chat.

If you need help integrating RSS with hubot, try asking for help in https://open.rocket.chat/channel/hubot. :)

Cheers
Thomas

Is there a simple tutorial on how-to do this? or do I really have to go to this channel and ask? :)) thanks

@albjeremias , did you ever figure this out? It's a mystery to me as well on how I would set this up.

I just found how to use this if your are interested https://github.com/Flipez/hubot-rss-rolf

git clone https://github.com/RocketChat/hubot-rocketchat-boilerplate
cd hubot-rocketchat-boilerplate
# edit the external-scripts.json and put this 
[
"hubot-rss-rolf",
"hubot-mongodb-brain"
]

npm install
npm install hubot-rss-rolf -save
npm install hubot-mongodb-brain -save
npm install coffee-script@">=1.9" -save
npm install [email protected]


# create and put into the .env file this
export ROCKETCHAT_URL=chat.CXXXXXX.org
export ROCKETCHAT_USER=mybotuser
export ROCKETCHAT_PASSWORD=mypassword
export ROCKETCHAT_ROOM=general
export ROCKETCHAT_USE_SSL=true
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_PRINTMARKDOWN=true # use markdown message (default is "false")
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)
export HUBOT_RSS_DUMP_USERS=""      # limit dump to special user (list without spaces eg. "user1,user2")


source .env
bin/hubot

I cant belive that is so difficult and undocumented to have just a simple rocketchat bot

Was this page helpful?
0 / 5 - 0 ratings

Related issues

royalaid picture royalaid  路  3Comments

karlprieb picture karlprieb  路  3Comments

tanc picture tanc  路  3Comments

brendanheywood picture brendanheywood  路  3Comments

marceloschmidt picture marceloschmidt  路  3Comments