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/ru/sub.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/i18n/ru/sub.php') diff --git a/app/i18n/ru/sub.php b/app/i18n/ru/sub.php index cd18f56de..05a8024f5 100644 --- a/app/i18n/ru/sub.php +++ b/app/i18n/ru/sub.php @@ -90,6 +90,8 @@ return array( 'title_add' => 'Add an RSS feed', // TODO - Translation 'ttl' => 'Do not automatically refresh more often than', // TODO - Translation 'url' => 'Feed URL', // TODO - Translation + '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' => 'Check the validity of the feed', // TODO - Translation 'website' => 'Website URL', // TODO - Translation 'websub' => 'Instant notification with WebSub', // TODO - Translation -- cgit v1.2.3