Skip to content
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

idea: add rss feeds to our slacks #68

Open
drmowinckels opened this issue Jun 20, 2023 · 7 comments
Open

idea: add rss feeds to our slacks #68

drmowinckels opened this issue Jun 20, 2023 · 7 comments

Comments

@drmowinckels
Copy link
Member

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.

@cosimameyer
Copy link
Contributor

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!

@drmowinckels
Copy link
Member Author

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
Copy link
Member Author

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.

@cosimameyer
Copy link
Contributor

cosimameyer commented Jun 23, 2023

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.

@drmowinckels
Copy link
Member Author

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 :/

@cosimameyer
Copy link
Contributor

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
Copy link
Contributor

cosimameyer commented Jun 24, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants