!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!Procedure for creating other oai-format-plugins!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

1. create a folder (<oai_metadata_format>), in this directory (plugins.oaiMetadata), for your plugin
2. create the following files:
~A~ plugins/oaiMetadata/<plugin>/index.php
~B~ plugins/oaiMetadata/<plugin>/OAIMetadataFormatPlugin_<format>.inc.php
~C~ plugins/oaiMetadata/<plugin>/OAIMetadataFormat_<format>.inc.php
3. set locale identifiers (OAIMetadata/<plugin>/locale/<locale>/locale.xml)

##############################################################################

~A~ skeleton ***********************************************

<?php
require_once('OAIFormatPlugin_<format>.inc.php');
require_once('OAIMetadataFormat_<format>.inc.php');
return new OAIFormatPlugin_<format>();
?>

~B~ skeleton ***********************************************

<?php
import('lib.pkp.classes.plugins.OAIMetadataFormatPlugin');
class OAIMetadataFormatPlugin_DC extends OAIMetadataFormatPlugin
{
	function getName();
	function getDisplayName();
	function getDescription();
	function getFormatClass();
	function getMetadataPrefix();
	function getSchema();
	function getNamespace();
}
?>

~C~ skeleton **********************************************

<?php
class OAIMetadataFormat_<format> extends OAIMetadataFormat
{
	function toXML(&$record);
	function formatElement($name, $value, $multilingual = false);

}
?>

##############################################################################