Versions Compared

Key

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

...

The response format for 1 & 2 is an XML document that includes the name of the format, its mime-type, and an optional description of the format (e.g. the URL of the schema). . For example:

Code Block

<formats id="info:fedora/demo:1">
  <format name="oai_dc" type="text/xml" docs="http://www.openarchives.org/OAI/2.0/oai_dc.xsd" />
  <format name="mods" type="application/xml" docs="http://www.loc.gov/standards/mods/" />
</formats>

Fedora Implementation

Implementing the first two components of unAPI is quite straightforward. The identifier microformat for a Fedora resource would look like:

...

The autodiscovery link might look like:

Code Block
<link rel="unapi-server" type="application/xml" title="unAPI" href="http://www.example.org:8080/unapi/fedora"   />

...