mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 21:35:56 +00:00
feeditem_rss: use guid element
This commit is contained in:
@@ -7,7 +7,13 @@ class FeedItem_RSS {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function get_id() {
|
function get_id() {
|
||||||
return $this->get_link();
|
$id = $this->elem->getElementsByTagName("guid")->item(0);
|
||||||
|
|
||||||
|
if ($id) {
|
||||||
|
return $id->nodeValue;
|
||||||
|
} else {
|
||||||
|
return $this->get_link();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_date() {
|
function get_date() {
|
||||||
|
|||||||
Reference in New Issue
Block a user