Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuring the Sherpa Romeo step

Note

This is a placeholder for the Sherpa Romeo step added in 7.3.  Documentation will be added.

Enabling the Sherpa Romeo step

Enabling the Sherpa Romeo step

By default, the "Sherpa RoMEO Policy" step is disabled.  To enable it, simply update your item-submission.xml to include this tag in your <submission-process>:

Code Block
<submission-process name="traditional">
   ...     
   <!-- This step shows when appropriate publisher policies retrieved from SHERPA/RoMEO -->
   <step id="sherpaPolicies"/>
</submission-process>

you must also obtain your sherpa.romeo.apikey  registering you client application here https://v2.sherpa.ac.uk/api/ and put them in the local.cfg  

Code Block
sherpa.romeo.apikey = <YOUR-API-KEY>

The step needs to extract the ISSN of the Journal where the publication has been submitted/published to query the Sherpa/RoMEO database in order to visualize the publisher policies, this is done by an implementation of the org.dspace.app.sherpa.submit.ISSNItemExtractor  interface configured in the org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService 

The configuration is provided by Spring config/spring/api/sherpa.xml 

Code Block
	<bean class="org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService"
		id="org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService">
		<property name="issnItemExtractors">
			<list>
				<bean class="org.dspace.app.sherpa.submit.MetadataValueISSNExtractor">
					<property name="metadataList">
						<list>
							<value>dc.identifier.issn</value>
						</list>
					</property>
				</bean>
				<!-- Uncomment this bean if you have SHERPARoMEOJournalTitle enabled
				<bean class="org.dspace.app.sherpa.submit.MetadataAuthorityISSNExtractor">
					<property name="metadataList">
						<list>
							<value>dc.title.alternative</value>
						</list>
					</property>
				</bean>  -->
			</list>
		</property>	
	</bean>

out-of-box implementations able to extract the ISSN from the metadata value or authority are provided.

Image AddedComing soon...

Creating new Submission Steps Programmatically.

...