You can help the Feed2toot Bot by donating anything through Liberaypay (also possible with cryptocurrencies). The official documentation on Readthedocs.io.Feed2toot on (would be awesome starring it if you like/use it). We want automatize all things! */30 * * * * feed2toot feed2toot -c /etc/feed2toot/feed2toot.ini More information about Feed2toot It’s more convenient to have a line in your /etc/crontab file in order to not perform manually the previous task. Just use the following command each time you want to send new RSS entries of your feed: $ feed2toot -c /etc/feed2toot/feed2toot.ini 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 you want to avoid sending all the RSS entries to Mastodon, because maybe you did it manually before, use the following command to populate the Feed2toot cache: $ feed2toot -populate-cache -c /etc/feed2toot/feed2toot.ini First, you need to create a new Mastodon account for your bot. Several_words_hashtags_list=/etc/feed2toot/hashtags.txt User_credentials=/etc/feed2toot/credentials/feed2toot_usercred.txtĬlient_credentials=/etc/feed2toot/credentials/feed2toot_clientcred.txtĬachefile=/var/lib/feed2toot/feed2toot.db We now write the following configuration in the file /etc/feed2toot/feed2toot.ini: Just answer the questions and the files feed2toot_usercred.txt and feed2toot_clientcred.txt will be created in your current work directory. It’s a really simple process with the following command: $ register_feed2toot_app Lets generate an app to authorize this app use our account. Doesn't show up too well in the unstyled Wordpress RSS widget though: Aug 09, 2018, 18:54 Web 11 20. # chown -R feed2toot:root /etc/feed2toot /var/lib/feed2toot Turns out Mastodon has built-in RSS and Atom feeds. # mkdir -p /etc/feed2toot/credentials /var/lib/feed2toot We are going to create a dedicated user on your system, a dedicated directory in /etc and /var/lib to store Feed2toot configuration and data: # adduser -home /var/lib/feed2toot -gecos "" feed2toot Start by installing Feed2toot: # pip3 install feed2toot El bot esta programado con NodeJS y es bastante sencillo de configurar. Let’s say you have a great blog and you would like to automatically inform your Mastodon followers about your new blog post.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |