ListIdentifiers

  • user warning: Table './jem/sessions' is marked as crashed and should be repaired query: SELECT COUNT(sid) AS count FROM sessions WHERE timestamp >= 1231481158 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 >= 1231481158 AND s.uid > 0 ORDER BY s.timestamp DESC in /var/www/net.jem-thematic/site/includes/database.mysql.inc on line 174.

Purpose

This function generates the response for the ListIdentifiers of the repository.

The identifier list is a list of the headers of every record in the repository.

Error conditions

  • badArgument -> The request includes illegal arguments or is missing required arguments.
  • badResumptionToken -> The value of the resumptionToken argument is invalid or expired.
  • cannotDisseminateFormat -> The value of the metadataPrefix argument is not supported by the repository.
  • noRecordsMatch -> The combination of the values of the from, until, and set arguments results in an empty list.
  • noSetHierarchy -> The repository does not support sets.

Sample calls

http://www.jem-thematic.net/lom_oai?verb=ListIdentifiers&until=2008-01-16&metadataPrefix=lom_ims

http://www.jem-thematic.net/lom_oai?verb=ListIdentifiers&from=2008-01-15&metadataPrefix=oai_dc

http://www.jem-thematic.net/lom_oai?verb=ListIdentifiers&from=2008-01-01&until=2008-01-15&metadataPrefix=lom_ieee

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

Sample output

 <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:55:14Z</responseDate>
    <request verb="ListIdentifiers" until="2008-01-16"
                metadataPrefix="lom_ims">http://www.jem-thematic.net/lom_oai</request>
    <ListIdentifiers>
        <header>
            <identifier>oai:jem-thematic-net:node/697</identifier>
            <datestamp>2008-01-15</datestamp>
        </header>
        <header>
            <identifier>oai:jem-thematic-net:node/698</identifier>
            <datestamp>2008-01-15</datestamp>
        </header>
        <header>
            <identifier>oai:jem-thematic-net:node/700</identifier>
            <datestamp>2008-01-15</datestamp>
        </header>
        <header>
            <identifier>oai:jem-thematic-net:node/702</identifier>
            <datestamp>2008-01-15</datestamp>
        </header>
        <header>
            <identifier>oai:jem-thematic-net:node/703</identifier>
            <datestamp>2008-01-15</datestamp>
        </header>
        <header>
            <identifier>oai:jem-thematic-net:node/707</identifier>
            <datestamp>2008-01-15</datestamp>
        </header>
    </ListIdentifiers>
 </OAI-PMH>