From 800a42172db1775aaa76f50446ed914ee0b5a80b Mon Sep 17 00:00:00 2001 From: Jules-Bertholet Date: Tue, 9 Mar 2021 14:51:09 -0500 Subject: Add an option to set a custom user agent to retrieve individual feeds (#3494) * Add an option to set a custom user agent to retrieve individual feeds This allows retrieving the original RSS feed when websites use services like FeedBurner. * Use !== instead of != in subscriptionController.php * Add proxy and user-agent to subscription/add Co-authored-by: Georgelemental Co-authored-by: Alexandre Alapetite --- app/i18n/fr/sub.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/i18n/fr/sub.php') diff --git a/app/i18n/fr/sub.php b/app/i18n/fr/sub.php index 495c4c086..a2a3d4bc2 100644 --- a/app/i18n/fr/sub.php +++ b/app/i18n/fr/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Ajouter un flux RSS', 'ttl' => 'Ne pas automatiquement rafraîchir plus souvent que', 'url' => 'URL du flux', + 'useragent' => 'Sélectionner l’agent utilisateur pour télécharger ce flux', + 'useragent_help' => 'Exemple: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)', 'validator' => 'Vérifier la validité du flux', 'website' => 'URL du site', 'websub' => 'Notification instantanée par WebSub', -- cgit v1.2.3