1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:55:55 +00:00

fix atom <author>value</author> elements

This commit is contained in:
Andrew Dolgov
2013-05-02 10:36:05 +04:00
parent 99b8256794
commit 602fe53496

View File

@@ -21,6 +21,9 @@ abstract class FeedItem_Common extends FeedItem {
$email = $author->getElementsByTagName("email")->item(0);
if ($email) return $email->nodeValue;
if ($author->nodeValue)
return $author->nodeValue;
}
$author = $this->xpath->query("dc:creator", $this->elem)->item(0);