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/nl/sub.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/i18n/nl/sub.php') diff --git a/app/i18n/nl/sub.php b/app/i18n/nl/sub.php index e6adcb564..9656529b1 100644 --- a/app/i18n/nl/sub.php +++ b/app/i18n/nl/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Voeg een RSS-feed toe', 'ttl' => 'Vernieuw automatisch niet vaker dan', 'url' => 'Feed-url', + 'useragent' => 'Set the user agent for fetching this feed', // TODO - Translation + 'useragent_help' => 'Example: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0)', // TODO - Translation 'validator' => 'Controleer de geldigheid van de feed', 'website' => 'Website-url', 'websub' => 'Directe notificaties met WebSub', -- cgit v1.2.3