mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 20:55:56 +00:00
fix atom <author>value</author> elements
This commit is contained in:
@@ -21,6 +21,9 @@ abstract class FeedItem_Common extends FeedItem {
|
|||||||
$email = $author->getElementsByTagName("email")->item(0);
|
$email = $author->getElementsByTagName("email")->item(0);
|
||||||
|
|
||||||
if ($email) return $email->nodeValue;
|
if ($email) return $email->nodeValue;
|
||||||
|
|
||||||
|
if ($author->nodeValue)
|
||||||
|
return $author->nodeValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$author = $this->xpath->query("dc:creator", $this->elem)->item(0);
|
$author = $this->xpath->query("dc:creator", $this->elem)->item(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user