Skip to content

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

License

Notifications You must be signed in to change notification settings

eprintsug/EPrintsOpenAIRE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EPrintsOpenAIRE

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

Bazaar Plugin

Version 1.0.4 (latest) https://bazaar.eprints.org/1242/

Documentation

The metadata guidelines:

The phrase file (https://github.com/photomedia/EPrintsOpenAIRE/blob/main/lib/lang/en/phrases/license_phrases.xml) is currently not required as it is not needed in this version of the plugin. Thus, the phrase file is currently not included in the Bazaar package. It 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

The following two lines are added to your local configuration to enable the plugin:

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

This is included in the /cfg/cfg.d/z_openaire.pl file.

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

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages