Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 

EPrintsOpenAIRE

Export to OpenAIRE (Guidelines for Literature Repositories v4) from EPrints digital repository software.

Documentation

The metadata guidelines:

The phrase file (https://github.com/photomedia/EPrintsOpenAIRE/blob/main/lib/lang/en/phrases/license_phrases.xml) contains phrases that would be required for the plugin if/when it includes the LicenseCondition field (https://openaire-guidelines-for-literature-repository-managers.readthedocs.io/en/v4.0.0/field_licensecondition.html#aire-licensecondition). Current version of this plugin doesn't export this field; it is not Mandatory in V4 of the guidelines.

Configuration settings

Enabling the OpenAIRE export plugins

You will have to add the following two lines to your local configuration to enable the plugins:

$c->{plugins}->{"Export::OPENAIRE"}->{params}->{disable} = 0;
$c->{plugins}{"Export::OPENAIRE_via_PMH"}{params}{disable} = 0;

One common place to add this is in a plugins.pl file here: /archives/[REPOID]/cfg/cfg.d/

Optional OpenAIRE OAI-PMH Custom Set Definition

Optionally, a repository may wish to define a specific OAI "custom set" for OpenAIRE to harvest from. For example, if you only want a portion of the item_types to be harvested, and/or you want to limit the harvesting to unembargoed items of certain types (article, conference_item, book_section, monograph, book), you would define a custom set using something like this:

$oai->{custom_sets} = [
	{ 	spec => "openaire", name => "OpenAIRE Set - OA article conference book monograph",
		filters=> [
			{meta_fields=>["full_text_status"], value=>"public"},
			{meta_fields =>[qw( type )], merge => "ANY", value => "article conference_item book_section monograph book" }
		]
	}	
];

Normally, there should be an oai.pl file here: /archives/[REPOID]/cfg/cfg.d/ This is where other oai-pmh configuration settings are, so this is where you would add this to create a custom set for OpenAIRE.

Acknowledgements

This was developed by Tomasz Neugebauer and initially hosted at https://github.com/photomedia/EPrintsOpenAIRE

About

Export to OpenAIRE (Guidelines for Literature Repositories v4) from EPrints digital repository software

Resources

License

Releases

No releases published

Packages

No packages published

Languages