I subscribe to some Reddit RSS feeds in TT-RSS. I was wondering if there is any way to “delay” the display of that feed by some amount of time.
The reason I ask is that when a new post is submitted to Reddit, the post will pop up on my fresh feeds, but of course that post will not have very many comments, if any. What would be more useful to me would be if that post could somehow be delayed such that it appears in my fresh feeds the next day. At that point, when I click on it, there will be lots of comments to read.
I’m not afraid to attempt to make a plugin to do this, I just need a few pointers for how such a thing could be done, or whether such a thing is simply too difficult to do such that I should just forget about it.
that is technically a somewhat interesting problem, even though to me your goal of wanting to read more reddit comments seems like a weird kind of masochism.
this could however be useful to, for example, filter out all posts deleted by mods.
I tried to install the plugin but run into a couple of issues.
I used the plugin manager from my admin account and the installation seemed ok.
I logged out to log in with my normal account, I got the following error message:
Via phpmyadmin I changed the table to innodb and I was able to login. I also saw and activated the plugin in the preferences. Unfortunately it does not show up under feeds → plugins
Error log is now full of: Error: E_USER_WARNING (512) Filename: classes/db/migrations.php:182 Message:
Failed to load base schema for ttrss_migrations_plugin_reddit_delay: SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column ‘link’ used in key specification without a key length
classes/db/migrations.php(182): user_error(Failed to load base schema for ttrss_migrations_plugin_reddit_delay: SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column ‘link’ used in key specification without a key length)
ok nevermind the (deleted post) above for the time being, i’ve switched my docker-compose setup to mariadb 10.3.34 and i’m seeing the same issue (it’s about the index on the column, not the column definition itself).
Now seems to be working
I already updated a couple of feeds from reddit and ttrss_plugin_reddit_delay_cache is being populated.
ttrss_error_log so far does not contain anything new.
If somethig strange happens in the future, I will report it here.
Thanks a lot. Really.
P.S.: I know I am pushing my luck, but you seem to be in a “mysql-friendly mode” … Is this still out of question?