mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-22 17:45:40 +03:00
[HeiseBridge] Consistently use seite=all parameter (#2465)
This also filters out the parameter wt_mc=rss.red.ho.ho.atom.beitrag.beitrag from the item uri.
This commit is contained in:
parent
0cf9da927e
commit
2811bdc054
1 changed files with 3 additions and 3 deletions
|
@ -40,12 +40,12 @@ class HeiseBridge extends FeedExpander {
|
|||
|
||||
protected function parseItem($feedItem) {
|
||||
$item = parent::parseItem($feedItem);
|
||||
$uri = $item['uri'] . '&seite=all';
|
||||
$item['uri'] = explode('?', $item['uri'])[0] . '?seite=all';
|
||||
|
||||
$article = getSimpleHTMLDOMCached($uri);
|
||||
$article = getSimpleHTMLDOMCached($item['uri']);
|
||||
|
||||
if ($article) {
|
||||
$article = defaultLinkTo($article, $uri);
|
||||
$article = defaultLinkTo($article, $item['uri']);
|
||||
$item = $this->addArticleToItem($item, $article);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue