From 256dcc21bb222184d5e917ea57cec334b74b96f4 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 14 Oct 2024 09:34:16 +0200 Subject: New unicity policies for feeds with bad GUIDs (#4487) New set of unicity criteria options. New tolerance heuristic: > `$invalidGuidsTolerance` (default 0.05) The maximum ratio (rounded) of invalid GUIDs to tolerate before degrading the unicity criteria. > Example for 0.05 (5% rounded): tolerate 0 invalid GUIDs for up to 9 articles, 1 for 10, 2 for 30, 3 for 50, 4 for 70, 5 for 90, 6 for 110, etc. > The default value of 5% rounded was chosen to allow 1 invalid GUID for feeds of 10 articles, which is a frequently observed amount of articles. --- app/i18n/fa/sub.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app/i18n/fa') diff --git a/app/i18n/fa/sub.php b/app/i18n/fa/sub.php index 8ad8f3090..93ff0f205 100644 --- a/app/i18n/fa/sub.php +++ b/app/i18n/fa/sub.php @@ -228,6 +228,16 @@ return array( 'title' => ' عنوان', 'title_add' => ' یک فید RSS اضافه کنید', 'ttl' => ' به‌طور خودکار بیشتر از آن رفرش نکنید', + 'unicityCriteria' => array( + '_' => 'Article unicity criteria', // TODO + 'forced' => 'forced', // TODO + 'help' => 'Relevant for invalid feeds.
⚠️ Changing the policy will create duplicates.', // TODO + 'id' => 'Standard ID (default)', // TODO + 'link' => 'Link', // TODO + 'sha1:link_published' => 'Link + Date', // TODO + 'sha1:link_published_title' => 'Link + Date + Title', // TODO + 'sha1:link_published_title_content' => 'Link + Date + Title + Content', // TODO + ), 'url' => ' URL فید', 'useragent' => ' عامل کاربر را برای واکشی این فید تنظیم کنید', 'useragent_help' => ' مثال: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)', -- cgit v1.2.3