/slack-rss

Need RSS feed from your Slack channel? This is how you can do it.

Primary LanguageC#

slack-rss

Overview

The project is structured like the following:

  • Models (Slack models for serialization)
  • Services (Services and Clients that interact with Slack API)
  • SlackRSSProxy (Web solution that shows an example on how to create a RSS feed from Slack.com channels by using the services provided in this project).

Configuration

The SlackRSSProxy has some configuration requirements to be able to authenticate successfully with Slack API.

Configuration parameters are included in Web.config like such:

<configuration>
    <appSettings>
      <add key="slacktoken" value="xoxp-xxxxx-xxxxx-xxxxxxxx-ac68cc"/>
    </appSettings>
	...
</configuration>

The slacktoken keeps the authentication token provided by Slack.com.

SlackRSSProxy Usage

The project has one file RSS.aspx which depicts how to use the services provided. Note the QueryString channel_id, thus http://server/RSS.aspx?channel_id=UUIDForChannel is the correct request format.