fix atom <author>value</author> elements
This commit is contained in:
parent
99b8256794
commit
602fe53496
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue