-
Notifications
You must be signed in to change notification settings - Fork 9
/
OAIMetadataFormatPlugin_OpenAIRE.php
60 lines (50 loc) · 1.35 KB
/
OAIMetadataFormatPlugin_OpenAIRE.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
* @file OAIMetadataFormatPlugin_OpenAIRE.php
*
* Copyright (c) 2014-2023 Simon Fraser University
* Copyright (c) 2003-2023 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class OAIMetadataFormatPlugin_OpenAIRE
* @ingroup oai_format_openaire
* @see OAI
*
* @brief OAI JATS XML format plugin for OpenAIRE.
*/
namespace APP\plugins\generic\openAIRE;
use PKP\plugins\OAIMetadataFormatPlugin;
class OAIMetadataFormatPlugin_OpenAIRE extends OAIMetadataFormatPlugin {
/**
* Get the name of this plugin. The name must be unique within
* its category.
* @return String name of plugin
*/
function getName() {
return 'OAIMetadataFormatPlugin_OpenAIRE';
}
/**
* @copydoc Plugin::getDisplayName()
*/
function getDisplayName() {
return __('plugins.oaiMetadata.openAIRE.displayName');
}
/**
* @copydoc Plugin::getDescription()
*/
function getDescription() {
return __('plugins.oaiMetadata.openAIRE.description');
}
function getFormatClass() {
return '\APP\plugins\generic\openAIRE\OAIMetadataFormat_OpenAIRE';
}
static function getMetadataPrefix() {
return 'oai_openaire_jats';
}
static function getSchema() {
return 'https://jats.nlm.nih.gov/publishing/0.4/xsd/JATS-journalpublishing0.xsd';
}
static function getNamespace() {
return 'http://jats.nlm.nih.gov';
}
}