-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generalized RSS feed #30
Comments
Sounds like a many-to-many mapping between feeds and channels, so I'd guess adding more constants to default_environment.rb is not the way to go here. Would you recommend using a different method to store these relationships? |
@gjp you are right: more constants are definitely not the way to go here. I think the most logical way to think about this data is in terms of the RSS feeds themselves. RSS = {
"http://mysite.com/awesome.rss" => ["#mendicant", "#mendicant-alumni"],
"http://info.com/important.rss" => :all
} Something like that should do the trick. |
@gjp and @jordanbyron if neither of you plan on working on this soon, I'll do it during the hackday. |
@semmons99 you'll have to work that out with @gjp. I certainly won't have time to work on this before then :wink2: |
@semmons99 Go for it. Or we could hack on it together if we're both on at the same time, but my cunning plan just involved iterating through a hash as in Jordan's example. 😏 I've been wondering whether the plugin configs ought to be grouped with the general config, especially as more plugins are added, but I didn't have a suggestion for a better way to do it. |
@gjp sounds good. I plan on hacking from 19:00 UTC - 21:00 UTC and could possibly come back from 00:00 UTC - 03:00 UTC. If we can get together maybe we can hack mendibot even more. |
We'd like to have mendibot post new commits to certain rooms. We can generalized the community RSS code you did so that it's easy to add new RSS feeds to mendibot. We'd also like specify which channels the feeds are broadcast in.
The text was updated successfully, but these errors were encountered: