awesome-rladies-blogs icon indicating copy to clipboard operation
awesome-rladies-blogs copied to clipboard

idea: add rss feeds to our slacks

Open drmowinckels opened this issue 1 year ago • 7 comments

We are getting so many awesome feeds through this repo, and in both the organiser slack and the community slack there are #rladiesblogs (variations on that spelling) where feeds from community member's blog come.

We should add the feeds from here to those slacks! We can either do that manually through the /feed command, or find some other nifty way of doing it.

drmowinckels avatar Jun 20 '23 20:06 drmowinckels

I love the idea! 💜 I remember that I also tried to add my blog with /feed but failed 😄 I think if we either add the existing blogs manually or find an automatic pipeline (even better), that would be fantastic!

cosimameyer avatar Jun 21 '23 03:06 cosimameyer

agree, something automatic would be great. Let explore that when we have the time. Likely the best option is to make some slack bot, but uncertain. I have colleagues who have made slack bots claiming it isnt too hard :P

drmowinckels avatar Jun 21 '23 05:06 drmowinckels

ok, so I made an action that is getting somewhere, but not finishing the job correctly.

https://github.com/rladies/awesome-rladies-blogs/blob/main/.github/workflows/slack-feed.yaml

It takes an url as an input (so we can trigger it for instance after merge to main), and it posts a message to the slack channel /feed url . Problem is, Slack is not recognising it as a command, just as a message, and so the feed is not added.

I've been looking for a "command" webapi endpoint from slack, but cant seem to find it. But we have something to base ourselves off of.

drmowinckels avatar Jun 22 '23 20:06 drmowinckels

That looks cool, thanks so much for the headstart! I also looked into it yesterday and found this - I’m not sure whether sending slash commands as a bot still works (SO says "no" but I’m hoping for a customized workaround 😄)

It looks like /feed is maintained/developed by Slack - I’ll reach out and ask them about a public API endpoint.

cosimameyer avatar Jun 23 '23 03:06 cosimameyer

Yeah, I have been poking around for answers, and there is an undocumented webapi command chat.command that used to work. It technically still works, but you'll need a legacy token, which we cannot get a hold of :/

drmowinckels avatar Jun 23 '23 07:06 drmowinckels

I know :( I got a reply and sent it to you on Slack - it's not really helpful but probably you can access one of the links? (most likely the second one)

cosimameyer avatar Jun 23 '23 11:06 cosimameyer