Versione stampabile
  • user warning: Table './jem/sessions' is marked as crashed and should be repaired query: SELECT COUNT(sid) AS count FROM sessions WHERE timestamp >= 1231498659 AND uid = 0 in /var/www/net.jem-thematic/site/includes/database.mysql.inc on line 174.
  • user warning: Table './jem/sessions' is marked as crashed and should be repaired query: SELECT DISTINCT u.uid, u.name, s.timestamp FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.timestamp >= 1231498659 AND s.uid > 0 ORDER BY s.timestamp DESC in /var/www/net.jem-thematic/site/includes/database.mysql.inc on line 174.

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>

Rispondi

Il contenuto di questo campo è privato e non verrà mostrato pubblicamente.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.