first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file plugins/oaiMetadataFormats/dc/OAIMetadataFormatPlugin_DC.php
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* @class OAIMetadataFormatPlugin_DC
|
||||
*
|
||||
* @ingroup oai_format
|
||||
*
|
||||
* @see OAI
|
||||
*
|
||||
* @brief dc metadata format plugin for OAI.
|
||||
*/
|
||||
|
||||
namespace APP\plugins\oaiMetadataFormats\dc;
|
||||
|
||||
class OAIMetadataFormatPlugin_DC extends \PKP\plugins\oaiMetadataFormats\dc\PKPOAIMetadataFormatPlugin_DC
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/**
|
||||
* @defgroup oai_format OAI Formats
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file plugins/oaiMetadataFormats/dc/OAIMetadataFormat_DC.php
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* @class OAIMetadataFormat_DC
|
||||
*
|
||||
* @ingroup oai_format
|
||||
*
|
||||
* @see OAI
|
||||
*
|
||||
* @brief OAI metadata format class -- Dublin Core.
|
||||
*/
|
||||
|
||||
namespace APP\plugins\oaiMetadataFormats\dc;
|
||||
|
||||
class OAIMetadataFormat_DC extends \PKP\plugins\oaiMetadataFormats\dc\PKPOAIMetadataFormat_DC
|
||||
{
|
||||
/**
|
||||
* @see lib/pkp/plugins/oaiMetadataFormats/dc/PKPOAIMetadataFormat_DC::toXml()
|
||||
*
|
||||
* @param null|mixed $format
|
||||
*/
|
||||
public function toXml($record, $format = null)
|
||||
{
|
||||
$article = & $record->getData('article');
|
||||
return parent::toXml($article, $format);
|
||||
}
|
||||
}
|
||||
|
||||
if (!PKP_STRICT_MODE) {
|
||||
class_alias('\APP\plugins\oaiMetadataFormats\dc\OAIMetadataFormat_DC', '\OAIMetadataFormat_DC');
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file plugins/oaiMetadataFormats/dc/index.php
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* @ingroup plugins_oaiMetadata
|
||||
*
|
||||
* @brief Wrapper for the OAI DC format plugin.
|
||||
*
|
||||
*/
|
||||
|
||||
return new \APP\plugins\oaiMetadataFormats\dc\OAIMetadataFormatPlugin_DC();
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE version SYSTEM "../../../lib/pkp/dtd/pluginVersion.dtd">
|
||||
|
||||
<!--
|
||||
* plugins/oaiMetadataFormats/dc/version.xml
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Plugin version information.
|
||||
-->
|
||||
<version>
|
||||
<application>dc</application>
|
||||
<type>plugins.oaiMetadataFormats</type>
|
||||
<release>1.0.0.0</release>
|
||||
<date>2009-07-13</date>
|
||||
</version>
|
||||
Reference in New Issue
Block a user