ListRecords
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=ListRecords&until=2008-01-16&metadataPrefix=lom_ims
http://www.jem-thematic.net/lom_oai?verb=ListRecords&from=2008-01-15&metadataPrefix=oai_dc
http://www.jem-thematic.net/lom_oai?verb=ListRecords&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-15T03:10:16Z</responseDate>
<request verb="ListRecords" until="2008-07-08" metadataPrefix="lom_ims">http://www.jem-thematic.net/lom_oai</request>
<ListRecords>
<record>
<header>
<identifier>oai:jem-thematic-net:node/26229</identifier>
<datestamp>2008-07-07</datestamp>
</header>
<metadata>
<lom xmlns="http://www.imsglobal.org/xsd/imsmd_v1p2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.imsglobal.org/xsd/imsmd_v1p2 http://www.imsglobal.org/xsd/imsmd_v1p2p4.xsd">
<general>
<identifier>26229</identifier>
<title><langstring xml:lang="en">Test</langstring></title>
<language>en</language>
<language>fi</language>
<description><langstring xml:lang="en">Testing the repository. This is a test</langstring></description>
<keyword><langstring xml:lang="en">something else</langstring></keyword>
<keyword><langstring xml:lang="en">test</langstring></keyword>
<coverage><langstring xml:lang="en">Finland</langstring></coverage>
<structure>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">Branched</langstring></value>
</structure>
<aggregationlevel>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">Problem trees and assignments</langstring></value>
</aggregationlevel>
</general>
<lifecycle>
<version><langstring xml:lang="en">1</langstring></version>
<status>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">Final</langstring></value>
</status>
<contribute>
<role>
<source><langstring xml:lang="en">LOMv1.0</langstring></source>
<value><langstring xml:lang="en">author</langstring></value>
</role>
<centity>
<vcard>BEGIN:VCARD FN:Alamaki, Antti EMAIL;INTERNET:aalamaki@gmail.com ORG:Helsinki University END:VCARD</vcard>
</centity>
<date><datetime>2008-01-15T00:00:00</datetime></date>
</contribute>
<contribute>
<role>
<source><langstring xml:lang="en">LOMv1.0</langstring></source>
<value><langstring xml:lang="en">author</langstring></value>
</role>
<centity>
<vcard>BEGIN:VCARD FN:Alamaki, Antti EMAIL;INTERNET:aalamaki@gmail.com ORG:Helsinki University END:VCARD</vcard>
</centity>
<date><datetime>2008-01-15T00:00:00</datetime></date>
</contribute>
</lifecycle>
<technical>
<format>MapleTA</format>
<size>10</size>
<location>http://www.jem-thematic.net</location>
<requirement>
<name>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en"></langstring></value>
</name>
</requirement>
<installationremarks><langstring xml:lang="en">None</langstring></installationremarks>
<duration>
<datetime>10:01</datetime>
<description><langstring xml:lang="en"></langstring></description>
</duration>
</technical>
<educational>
<interactivitytype>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">Mixed</langstring></value>
</interactivitytype>
<learningresourcetype>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">Table</langstring></value>
</learningresourcetype>
<learningresourcetype>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">ProblemStatement</langstring></value>
</learningresourcetype>
<interactivitylevel>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">medium</langstring></value>
</interactivitylevel>
<semanticdensity>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">medium</langstring></value>
</semanticdensity>
<intendedenduserrole>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">Teacher</langstring></value>
</intendedenduserrole>
<context>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">University First Cycle</langstring></value>
</context>
<context>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">Technical School Second Cycle</langstring></value>
</context>
<typicalagerange><langstring xml:lang="en"></langstring></typicalagerange>
<difficulty>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">Medium</langstring></value>
</difficulty></educational>
<rights>
<cost>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">Yes</langstring></value>
</cost>
<copyrightandotherrestrictions>
<source><langstring xml:lang="en">LOMv1.2</langstring></source>
<value><langstring xml:lang="en">No</langstring>
</value>
</copyrightandotherrestrictions>
<description><langstring xml:lang="en">Copyright (2007) WebALT Inc</langstring></description>
</rights>
<classification>
<taxonpath>
<source><langstring xml:lang="en">Mathtax</langstring></source>
<taxon>
<id>1</id>
<entry><langstring>Numbers and Concepts</langstring></entry>
</taxon>
<taxon>
<id>1.1</id>
<entry><langstring>Number Concepts</langstring></entry>
</taxon>
<taxon>
<id>1.1.4</id>
<entry><langstring>Irrational</langstring></entry>
</taxon>
</taxonpath>
<taxonpath>
<source><langstring xml:lang="en">Mathtax</langstring></source>
<taxon>
<id>3</id>
<entry><langstring>Algebra and Number Theory</langstring></entry>
</taxon>
<taxon>
<id>3.1</id>
<entry><langstring>Algebra</langstring></entry>
</taxon>
<taxon>
<id>3.1.4</id>
<entry><langstring>Equations</langstring></entry>
</taxon>
</taxonpath>
</classification>
</lom>
</metadata>
</record>
</ListRecords>
</OAI-PMH>
- Versione stampabile
- Aggiungi un commento
- 757 letture

