summaryrefslogtreecommitdiff
path: root/classes/feeditem/rss.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-01 21:01:30 +0400
committerAndrew Dolgov <[email protected]>2013-05-01 21:01:30 +0400
commitf11015058d6e313d3cabc3d3edc0230a5b6b4c26 (patch)
tree8ec14f718a6d794b849e0bb7dc7ae43506b9882e /classes/feeditem/rss.php
parentd4992d6b48ed458ae3ff39c5cd5ac19244ccd6a8 (diff)
support dc:creator
Diffstat (limited to 'classes/feeditem/rss.php')
-rw-r--r--classes/feeditem/rss.php6
1 files changed, 6 insertions, 0 deletions
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;
}
+
}
}
?>