From 3d4e112d16471703f51a542c0cc6e73a6f5db628 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 2 Feb 2021 12:59:41 +0100 Subject: add best trending strategy based on Reddit's best inspired from https://www.reddit.com/r/changelog/comments/7spgg0/best_is_the_new_hotness/ this implementation only adds freshness, and doesn't personalize based on subscribed communities yet. --- config/default.yaml | 3 ++- config/production.yaml.example | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 22488da99..95df2e06c 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -110,7 +110,8 @@ trending: interval_days: 7 # Compute trending videos for the last x days algorithms: enabled: - - 'hot' # adaptation of the Reddit 'Hot' algorithm + - 'best' # adaptation of Reddit's 'Best' algorithm (Hot minus History) + - 'hot' # adaptation of Reddit's 'Hot' algorithm - 'most-viewed' # default, used initially by PeerTube as the trending page - 'most-liked' default: 'most-viewed' diff --git a/config/production.yaml.example b/config/production.yaml.example index 66c981dd5..13a646918 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -108,7 +108,8 @@ trending: interval_days: 7 # Compute trending videos for the last x days algorithms: enabled: - - 'hot' # adaptation of the Reddit 'Hot' algorithm + - 'best' # adaptation of Reddit's 'Best' algorithm (Hot minus History) + - 'hot' # adaptation of Reddit's 'Hot' algorithm - 'most-viewed' # default, used initially by PeerTube as the trending page - 'most-liked' default: 'most-viewed' -- cgit v1.2.3