Commit 85972aac6d949621b30ebda10d43425720ff6fdb

Authored by Fernando Ribeiro
1 parent df87056822

changed Readme.md

Showing 1 changed file with 36 additions and 0 deletions   Show diff stats
openaireauthcontrol_v3.1_dspace3.2/Readme.md
@@ -97,6 +97,42 @@ At $DSPACE_SRC/config/input-forms.xml after '<page number="1">' add: @@ -97,6 +97,42 @@ At $DSPACE_SRC/config/input-forms.xml after '<page number="1">' add:
97 <hint>Enter the search term (number, name or acronym) of the European project (EC / ERC), National project (FCT) or any other international project/initiative (WT)gt;</hint> 97 <hint>Enter the search term (number, name or acronym) of the European project (EC / ERC), National project (FCT) or any other international project/initiative (WT)gt;</hint>
98 </field> 98 </field>
99 99
  100 +## Change xoai.xml configuration
  101 +At $DSPACE_SRC/config/crosswalks/oai/xoai.xml
  102 +Add the following, before </Contexts> <Formats>:
  103 + <Context baseurl="fct">
  104 + <!-- Date format, field prefixes, etc are ensured by the transformer -->
  105 + <Transformer refid="openaireTransformer" />
  106 + <!-- Title : Mandatory -->
  107 + <Filter refid="titleexistsFilter" />
  108 + <!-- Author : Mandatory -->
  109 + <Filter refid="authorexistsFilter"/>
  110 + <!-- Possible Document Type (same as Driver)-->
  111 + <Filter refid="driverdocumenttypeFilter"/>
  112 + <!-- dc.relation must has the specified prefix -->
  113 + <Filter refid="fctrelationFilter" />
  114 + <!-- Metadata Formats -->
  115 + <Format refid="oaidc" />
  116 + <Format refid="mets" />
  117 + </Context>
  118 +
  119 +And after <Value>info:eu-repo/grantAgreement/EC/FP</Value> add:
  120 +
  121 + </Parameter>
  122 + </Filter>
  123 + <Filter id="fctrelationFilter">
  124 + <Class>org.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter</Class>
  125 + <Parameter key="field">
  126 + <Value>dc.relation</Value>
  127 + </Parameter>
  128 + <Parameter key="operator">
  129 + <Value>starts_with</Value>
  130 + </Parameter>
  131 + <Parameter key="value">
  132 + <Value>info:eu-repo/grantAgreement/FCT</Value>
  133 +
  134 +
  135 +
100 ## After instalation 136 ## After instalation
101 After building DSpace (mvn & ant - see the DSpace Documentation), configure cron to refresh the openaire project list, for example: 137 After building DSpace (mvn & ant - see the DSpace Documentation), configure cron to refresh the openaire project list, for example:
102 138