[XPathBridge] Allow multiple categories (#4038)

* [XPathAbstract] allow multiple categories

* fix feed icons in two bridges

* fix warning

* fix linter errors
This commit is contained in:
Niehztog 2024-03-31 18:46:07 +02:00 committed by GitHub
parent d23fd2522c
commit 1c3c85d8ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 67 additions and 19 deletions

View file

@ -23,6 +23,11 @@ class NiusBridge extends XPathAbstract
const XPATH_EXPRESSION_ITEM_CATEGORIES = './/div[@class="subtitle"]/text()';
const SETTING_FIX_ENCODING = false;
public function getIcon()
{
return 'https://www.nius.de/favicon.ico';
}
protected function formatItemTitle($value)
{
return strip_tags($value);