A robot that publishes the content of RSS feeds on a Mastodon account.
-
Copy your credentials into the
newsbot.py
script -
Replace the path
/HOME/USER/PATH/
intonewsbot.py
with the path to your location on the server. -
Paste your RSS feed(s) (one per line) into the
rss_feeds.txt
file. -
In scipt
newsbot.py
, modify the number of publications it should send per execution (default = 3). -
Create a CRON task (
crontab -e
) with a call to the python script every X minutes.
EXAMPLE:
*/10 * * * * usr/bin/python3 /HOME/USER/PATH/newsbot.py
-
Please remember to set your robot's toots to Unlisted to avoid flooding public instance.
-
Enjoy