simoniz0r / discord-rss-bot Goto Github PK
View Code? Open in Web Editor NEWA simple bash script that posts RSS feeds to Discord webhooks
Home Page: https://www.simonizor.net
License: MIT License
A simple bash script that posts RSS feeds to Discord webhooks
Home Page: https://www.simonizor.net
License: MIT License
I've been trying to filter some RSS feeds using SiftRSS and it seems that any feeds that go through them end up with an error message.
{"code": 50006, "message": "Cannot send an empty message"}
If I use the original feed, the messages/posts do come through and post fine to Discord. That suggests a Sift problem, however, it does appear that the feed is valid.
Example feed - via SiftRSS and broken. Filtering Xbox posts to only posts with "Xbox Game Pass" in them.
Example feed #2 - same feed, not via SiftRSS. This works fine, but obviously posts everything.
I'm assuming it's something to do with the way the feed is handled via sed and tr with a tricky character, but I'm not sure how to narrow it down like you've done with LWN and xkcd. Even a nudge in the right direction would be awesome.
Help? Please? ๐
Absolutely zero rush obviously. I'll keep poking it with sticks in the meantime.
Noticed the new news-fedora
channel with a webhook/bot named Fedora Planet
while the posts in it come from different sources.
Fedora Planet is an open community blog aggregation feed where anyone can register their personal blog and it often contains non-english stuff. Both of these are good reasons to avoid following it.
http://fedoraplanet.org
These feeds are useful:
https://fedoramagazine.org/feed
https://communityblog.fedoraproject.org/feed
I would recommend to rename the webhook to not be misleading to something neutral, and have source of the post in the author
embed field, example:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.