fix atom <author>value</author> elements
This commit is contained in:
parent
99b8256794
commit
602fe53496
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue