mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +02:00
[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:
parent
d23fd2522c
commit
1c3c85d8ff
3 changed files with 67 additions and 19 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue