mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:15:56 +00:00
parser/rss: try to get link from guid isPermaLink=true
This commit is contained in:
@@ -25,6 +25,12 @@ class FeedItem_RSS extends FeedItem_Common {
|
||||
return $link->getAttribute("href");
|
||||
}
|
||||
|
||||
$link = $this->elem->getElementsByTagName("guid")->item(0);
|
||||
|
||||
if ($link && $link->hasAttributes() && $link->getAttribute("isPermaLink") == "true") {
|
||||
return $link->nodeValue;
|
||||
}
|
||||
|
||||
$link = $this->elem->getElementsByTagName("link")->item(0);
|
||||
|
||||
if ($link) {
|
||||
|
||||
Reference in New Issue
Block a user