Identify

Purpose

This function generates the identifier XML of the repository. besides the compulsory data, this repository provides also some non-compulsory elements like sampleIdentifier for better describing the repository. In the XML response, the set specifications are omitted as the repository does not support sets.

The module provides a form for adding the preliminary data for the repository. The form can be found at Administer -> Site Configuration -> OAI Module Settings

Values in the form are preset from the drupal site information once the module is installed so visiting this form after installing the module is not compulsory.

Error conditions

  • badArgument -> The request includes illegal arguments

Sample calls

Valid: http://www.jem-thematic.net/lom_oai?verb=Identify

Invalid: http://www.jem-thematic.net/lom_oai?verb=Identify&metadataPrefix=lom_ieee

Sample output

 <?xml version="1.0" encoding="utf-8"?>
 <OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
    <responseDate>2008-07-15T02:38:27Z</responseDate>
    <request verb="Identify">http://www.jem-thematic.net/lom_oai</request>
    <Identify>
        <repositoryName>WebALT - Web Advanced Learning Technologies</repositoryName>
        <baseURL>/lom_oai</baseURL>
        <protocolVersion>2.0</protocolVersion>
        <adminEmail>admin@jem-thematic.net</adminEmail>
        <earliestDatestamp>2008-07-07</earliestDatestamp>
        <deletedRecord>no</deletedRecord>
        <granularity>YYYY-MM-DD</granularity>
        <description>
            <oai-identifier xmlns="http://www.openarchives.org/OAI/2.0/oai-identifier"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai-identifier http://www.openarchives.org/OAI/2.0/oai-identifier.xsd">
                <scheme>oai</scheme>
                <repositoryIdentifier>jem-thematic.net</repositoryIdentifier>
                <delimiter>:</delimiter>
                <sampleIdentifier>oai:jem-thematic.net:node/26229</sampleIdentifier>
            </oai-identifier>
        </description>
    </Identify>
 </OAI-PMH>