From 1603c10bbab61b4a84380c8a9d5aa77536a4f1c7 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 18 Aug 2022 12:10:55 +0200 Subject: XPath ability to define the UID manually (#4507) * XPath ability to define the UID manually * Fix error in i18n --- app/Controllers/subscriptionController.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Controllers/subscriptionController.php') diff --git a/app/Controllers/subscriptionController.php b/app/Controllers/subscriptionController.php index 9e4eab8e2..bbefc2d68 100644 --- a/app/Controllers/subscriptionController.php +++ b/app/Controllers/subscriptionController.php @@ -204,6 +204,7 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController { if (Minz_Request::param('xPathItemTimestamp', '') != '') $xPathSettings['itemTimestamp'] = Minz_Request::param('xPathItemTimestamp', '', true); if (Minz_Request::param('xPathItemThumbnail', '') != '') $xPathSettings['itemThumbnail'] = Minz_Request::param('xPathItemThumbnail', '', true); if (Minz_Request::param('xPathItemCategories', '') != '') $xPathSettings['itemCategories'] = Minz_Request::param('xPathItemCategories', '', true); + if (Minz_Request::param('xPathItemUid', '') != '') $xPathSettings['itemUid'] = Minz_Request::param('xPathItemUid', '', true); if (!empty($xPathSettings)) { $feed->_attributes('xpath', $xPathSettings); } -- cgit v1.2.3