From f11015058d6e313d3cabc3d3edc0230a5b6b4c26 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 1 May 2013 21:01:30 +0400 Subject: support dc:creator --- classes/feeditem/atom.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'classes/feeditem/atom.php') 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; + } + } } ?> -- cgit v1.2.3