We have a big screen in the workshop that isn’t really used at the moment, and I thought it’d be cool to display new CD topics/relevant posts that come every minute or so.
Has anyone done this and willing to share a good method? How should I go on about this?
Thanks!
Open CD on the screen, set it to autorefresh on a set interval?
The “Unofficial FIRST Robotics Competition Server” on Discord does something like this with a bot called “Dozer” in their #newsfeed channel. Not sure if we can post discord links on CD, but if you’re not on it, you could find it pretty easily via Google.
I’m not code-oriented but I’m sure that bot is just an implementation of some CD/Discourse feature (like RSS idk) which you may prefer.
I’m more interested in the contents, and possibly scrolling a bit in each topic until a new one comes up
Do you know if there’s some specific API call or something similar for this?
You can use the RSS feed and use an off-the-shelf solution (or build your own) to pull recent posts:
Alternatively:
Don’t.
I don’t really know much about this sort of stuff. But:
- Discord bot
- This is the bot’s GitHub: GitHub - FRCDiscord/Dozer: Omnipotent guild management bot for FIRST Discord servers
- I believe the bot can be added to other discord servers
- I found these (hopefully) related threads
- CD RSS feed
- Is Discourse API Supported?
- /posts.json API endpoint blocked by Cloudflare (this actually seems like exactly what you’re trying to do)