Skip to content
Snippets Groups Projects
Commit f1101505 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

support dc:creator

parent d4992d6b
No related branches found
No related tags found
Loading
......@@ -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;
}
}
}
?>
......@@ -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;
}
}
}
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment