edsu / feediverse

Send RSS/Atom feeds to Mastodon
MIT License
116 stars 25 forks source link

Make it possible to slowly toot a comple feed in cronological order #12

Open steinarb opened 4 years ago

steinarb commented 4 years ago

It would be nice if feediverse could be used to slowly (e.g. one toot a day) turn all items of an RSS feed into toots in cronological order.

steinarb commented 4 years ago

My approach for now is that I

  1. run this script once a day /usr/bin/python3 $HOME/git/feedreverser/feedreverser.py
  2. every time it's run, feedreverser.py saves a single feed entry from the original feed to /tmp/reversed.rss, starting with the oldest
  3. run a cronjob that reads the feed at file:///tmp/reversed.rss

This makes the RSS feed from my wordpress blog trickle into mastodon, one toot a day.

feedreverser can be found here: https://github.com/steinarb/feedreverser

edsu commented 4 years ago

I like your solution of pointing feediverse at an RSS feed that is being managed to produce the results you want. I could imagine wanting to post 2 per day 12 hours apart, or other variations, and I wouldn't want all that logic added to feediverse. Does that make sense?

gitbenb commented 4 years ago

Also interested in this, but mainly, how do I limit the numberof toots in my .feediverse config file ?