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/feedController.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Controllers/feedController.php') diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php index c016d3584..95bca33eb 100755 --- a/app/Controllers/feedController.php +++ b/app/Controllers/feedController.php @@ -198,6 +198,7 @@ class FreshRSS_feed_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)) { $attributes['xpath'] = $xPathSettings; } -- cgit v1.2.3