mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-16 23:29:56 +03:00
[FeedExpander] Fix item href being used as feed uri (#1033)
This commit is contained in:
parent
556a417dd6
commit
ca9c2abb60
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ abstract class FeedExpander extends BridgeAbstract {
|
|||
|
||||
//When "link" field is present, URL is more reliable than "id" field
|
||||
if (count($feedItem->link) === 1) {
|
||||
$this->uri = (string)$feedItem->link[0]['href'];
|
||||
$item['uri'] = (string)$feedItem->link[0]['href'];
|
||||
} else {
|
||||
foreach($feedItem->link as $link) {
|
||||
if(strtolower($link['rel']) === 'alternate') {
|
||||
|
|
Loading…
Add table
Reference in a new issue