User Tools

Site Tools


en:user_advanced:oai_server_gs3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
en:user_advanced:oai_server_gs3 [2018/07/30 22:59] – created kjdonen:user_advanced:oai_server_gs3 [2018/07/30 23:27] – [Metadata Formats] kjdon
Line 2: Line 2:
  
 The Greenstone3 OAI data provider facility comes enabled by default. It runs as a servlet called "oaiserver", and can be accessed using the same URL as the library,  The Greenstone3 OAI data provider facility comes enabled by default. It runs as a servlet called "oaiserver", and can be accessed using the same URL as the library, 
-by replacing library with oaiserver. For example, ''<nowiki>http://localhost:8080/greenstone3/oaiserver</nowiki>''. You can see a demonstration OAI server at [[http://www.greenstone.org/greenstone3/oaiserver?verb=Identify|http://www.greenstone.org/greenstone3/oaiserver?verb=Identify]].+by replacing library with oaiserver. For example, ''<nowiki>http://localhost:8080/greenstone3/oaiserver</nowiki>'' 
 + 
 +You can see a demonstration OAI server at [[http://www.greenstone.org/greenstone3/oaiserver?verb=Identify|http://www.greenstone.org/greenstone3/oaiserver?verb=Identify]].
  
 ==== Configuration ====  ==== Configuration ==== 
Line 100: Line 102:
  <element name="dc:format"><mapping elements="dc.Format"/></element>  <element name="dc:format"><mapping elements="dc.Format"/></element>
  <element name="dc:identifier"><mapping elements="dc.Identifier,Identifier" select="firstvalue"/></element>  <element name="dc:identifier"><mapping elements="dc.Identifier,Identifier" select="firstvalue"/></element>
 +        <element name="dc:identifier"><mapping
 +        elements="gs.OAIResourceURL,gsflink.source,gsflink.document" 
 +        select="allvalues"/></element> (available July 2018)
  <element name="dc:source"><mapping elements="dc.Source"/></element>  <element name="dc:source"><mapping elements="dc.Source"/></element>
  <element name="dc:language"><mapping elements="dc.Language"/></element>  <element name="dc:language"><mapping elements="dc.Language"/></element>
Line 204: Line 209:
  
 If you have rebuilt collections then you need to reset the server. This can either be done by restarting it (stop the server and run gs3-server.sh/bat again, or run 'ant restart'), or you can reset the server using the reset command: http://localhost:8383/greenstone3/oaiserver?reset. This will make it reload all the collection information again. (Make sure you use the correct host name and port number.) If you have rebuilt collections then you need to reset the server. This can either be done by restarting it (stop the server and run gs3-server.sh/bat again, or run 'ant restart'), or you can reset the server using the reset command: http://localhost:8383/greenstone3/oaiserver?reset. This will make it reload all the collection information again. (Make sure you use the correct host name and port number.)
 +
 +====Testing==== 
 +
 +Once you have your OAI service in place, testing can be done via online validation facilities such as the following: http://www.openarchives.org/data/registerasprovider.html or http://re.cs.uct.ac.za/.
 +
 +The former only verifies the Identify command, while extensive testing can be performed via the later one (called //Repository Explorer//).
 +
 +The Greenstone OAI server must be publically accessible over the Internet to use these validation tools.
 +
 +
en/user_advanced/oai_server_gs3.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1