# Files for turning an RSS feed into GoToSocial Statuses ## Introduction: This is a much simpler reworking of the [Maston rss-to-toot] scripts Why ? Well, Mastodon had a much lower character count per toot, meaning that several variants had to be created Some toots had to be sent without including say, the RSS 'description' My GoToSocial instance character count per Note allows for much longer posts meaning that only one script is needed ## Prerequisites: ### Create a new account Obviously you can skip this part if you intend to use an existing account: [https://docs.gotosocial.org/en/latest/getting_started/user_creation/](https://docs.gotosocial.org/en/latest/getting_started/user_creation/) ### Create an Authentication TOKEN The bot needs a 'Token' to send status updates autonomously The GtS documentation on how to create a Token can be found here: [https://docs.gotosocial.org/en/latest/api/authentication/](https://docs.gotosocial.org/en/latest/api/authentication/) ## Files: The python code takes an RSS feed It takes the latest entry in the feed If that entry is different to the last entry posted to the instance, it crafts an GoToSocial status update, announcing the new feed content, and updates the GoToSocial timeline The scripts post the following RSS content ('title', 'description', 'link') along with a comment and the hashtags: * ### [bot_all_no_image.py] This will cycle through **all** of the items in the RSS feed * ### [bot_no_image.py] This will post only the **latest** item in the RSS feed The text file that contains the ID of the last RSS entry was posted as a Status update: * ### [last_post.txt] The text file that contains the ID of the last RSS entry that was posted: * ### [last_toot.txt] The Python file that contains the access Token and other needed connection info: * ### [secrets.py]