Versions Compared

Key

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

...

Advanced Configuration

OAI 2.0 provides an advanced configuration allowing allows you to configure following advanced options:

  • Contexts
  • Transformers
  • Metadata Formats
  • Filters
  • Sets

It's an XML file commonly located at: [dspace]/config/crosswalks/oai/xoai.xml

General options

These options influence the OAI interface globally. "per page" means per request, next page (if there is one) can be requested using resumptionToken provided in current page.

  • identation [boolean] - whether the output XML should be indented to make it human-readable

  • maxListIdentifiersSize [integer] - how many identifiers to show per page (verb=ListIdentifiers)

  • maxListRecordsSize [integer] - how many records to show per page (verb=ListRecords)
  • maxListSetsSize [integer] - how many sets to show per page (verb=ListSets)

  • stylesheet [relative file path] - an xsl stylesheet used by client's web browser to transform the output XML into human-readable HTML

Their location and default values are shown in the following fragment:

Code Block
<Configuration xmlns="http://www.lyncode.com/XOAIConfiguration"
	identation="false"
	maxListIdentifiersSize="100"
	maxListRecordsSize="100"
	maxListSetsSize="100"
	stylesheet="static/style.xsl">

Add/Remove Metadata Formats

...