Closed mj-saunders closed 5 years ago
OK the is no perfect option, from a technical point of view i prefer each link to be a separate toot. BUT this is not good from a user point of view.
POTP 1) not ideal 2) maybe the best option 3) we are doing a bigger project to make this idea work http://omn.openworlds.info but its not going to be in a usable state for a year or more, so no.
M1 Think M2 better. Maybe have a configure setting for 3/5 toots for different toot flows
M2 Think maybe we should try this one? Check every hour then toot as a group up to 5 or normal single toot
we mediate this by just not adding any feeds that are to fast flowing
OK. I agree - prefer M2.
I shall spend a little time going over the existing code, to see how best to implement this.
Will also allow for today, for any of us to come up with a better solution before I start hacking at code, and for the voice of a certain Vagabond to be added - I like consensus.
Notes (mainly) to self - feel free to ignore this post:
- Check RSS every hour
Already done with cronjob - could tweak frequency using crontab -e
- If there are more than one post, toot a digest (otherwise do normal toot)
- up to a maximum of 5
- If there are more than 5, rollover to next hourly check
- if next check yields again more than 5, how to prioritise?
Perl code edits. I believe this should all be achievable without altering the database structure.
- This potentially leads to 24 toots per day for a bot
- How best to rate-limit?
Even though cronjob checks feeds every hour, perhaps rate-limiting should be done via Perl. Would allow for timely checking, but not necessarily such frequent posting. RSSTootalizer originally intended to use the cronjob to determine posting frequency.
TODO: Analyse how the db is utilising timecodes and decide how to proceed.
a functioning (prototype?) is now running utilising most of Method 2
Feel free to post additions via comments; we can always improve what follows.
Potential options to pursue:
Details
Option 2 - Toot Digest
This appears to be our best option for the time being. For purposes here, n = 5
Method 1
Method 2
1 I dislike this as we are then altering when content is being published
I am sure there are more issues. Please comment and question so we can improve, decide and solve this quickly 😄