Skip to content

Commit

Permalink
pkp/pkp-lib#9877 Provide book DOI and URN via OMP OAI
Browse files Browse the repository at this point in the history
  • Loading branch information
bozana committed Jul 15, 2024
1 parent b4a61ff commit 32a1b07
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ public function extractMetadataFromDataObject(&$publicationFormat)
if ($pubId) {
$dc11Description->addStatement('dc:identifier', $pubId);
}
$publicationPubId = $plugin->getPubId($publication);
if ($publicationPubId) {
$dc11Description->addStatement('dc:relation', $publicationPubId->getData('doi'));
}

}
$context = $request->getContext();
if (!$context) {
Expand All @@ -176,6 +181,10 @@ public function extractMetadataFromDataObject(&$publicationFormat)
if ($doi) {
$dc11Description->addStatement('dc:identifier', $doi);
}
$publicationDoi = $publication->getData('doiObject');
if ($publicationDoi) {
$dc11Description->addStatement('dc:relation', $publicationDoi->getData('doi'));
}
}

// Identifier: others
Expand Down

0 comments on commit 32a1b07

Please sign in to comment.