![]() The new post will make sure the most recent timestamp in the Toot timeline is up to date. If you need to disable the tool for a while (system maintenance, etc), but you don't want the bot to flood Mastodon with a bunch of belated posts when it starts up again, you can just make a post directly to the bot via the Mastodon interface and then start the scheduled task again. You can do this by choose unique clientapp (for example, your mastodon's username). It is important that the name of the bot be unique. clientapp is a name of the mastodon application. homeserver.url is a homeserver which attached to the applicatin service. You will need to schedule separate tasks for each bot/config. Invite a bot with unique mxid like 'mxtootclientapp:homeserver.url' where. In order to have a bot that updates regularly, you will need to schedule the above PHP call with a Cron task or a Scheduled Task depending on your system. ![]() Doesn't show up too well in the unstyled Wordpress RSS widget though: Aug 09, 2018, 18:54 Web 11 20. Then add a link to the button that links to the RSS file. The XML > Parse XML module parses an XML formatted text and. Put the little orange 'RSS' or 'XML' button on the page where you will offer RSS to the world (e.g. The bot will create the file if it doesnt exist. On Settings -> Profile, check the this is a bot checkbox. Then, and that’s important Mastodon etiquette here, mark the account as a bot. I made one on my own Mastodon instance but you can make it on any server. If the bot is new and has no posts, it will only post the most recent feed item, not the entire feed. Turns out Mastodon has built-in RSS and Atom feeds. convert a bundle to an XML formatted text via the XML > Create XML module. rsslist.csv is a list of rss feeds, one on each line rssbotlastrun.txt is a file the bot uses to keep track of RSS updates. First, you need to create a new Mastodon account for your bot. Mastodon User-agent: httpget User-agent: DnyzBot User-agent: botify. If your feed has items added every minute (hopefully unlikely), then this tool may miss an item or two along the way. Bot User-agent: Ahrefs User-agent: fuelbot User-agent: CrunchBot User-agent. Obviously, this has the potential to not be as accurate as a bot with a cache, but I'm too lazy to build one. The tool will check the timestamp of the latest toot and get all Feed items after that timestamp and posts them. ![]() To keep the application 'stateless' (see top), the tool works based off of timestamps. Please note the lack of '.json' in the parameter. RSS Bot for Mac works well and would be a good solution for those looking for a functional and easy-to-use application for following newsfeeds. Php /path/to/php-mastodon-rss-to-bot-stateless/index.php my_rss ![]()
0 Comments
Leave a Reply. |