diff --git a/classes/feeditem/atom.php b/classes/feeditem/atom.php index d21933897..1a9db9020 100644 --- a/classes/feeditem/atom.php +++ b/classes/feeditem/atom.php @@ -138,6 +138,13 @@ class FeedItem_Atom { if ($email) return $email->nodeValue; } + + $author = $this->xpath->query("dc:creator", $this->elem)->item(0); + + if ($author) { + return $author->nodeValue; + } + } } ?> diff --git a/classes/feeditem/rss.php b/classes/feeditem/rss.php index 7a3b0d342..9e54a9c09 100644 --- a/classes/feeditem/rss.php +++ b/classes/feeditem/rss.php @@ -129,8 +129,14 @@ class FeedItem_RSS { $email = $author->getElementsByTagName("email")->item(0); if ($email) return $email->nodeValue; + } + + $author = $this->xpath->query("dc:creator", $this->elem)->item(0); + if ($author) { + return $author->nodeValue; } + } } ?>