For SIL International's repository for the Ethnologue (www.ethnologue.com).
This repository is compatible with the protocols of both the OAI (Open Archives Initiative) and OLAC (Open Language Archives Community).
Repository identifier:
ethnologue.com
OAI protocol version:2.0
OLAC protocol version:1.1
BASE-URL:http://www.ethnologue.com/oai2.asp
For arguments (O) indicates optional, (M) indicates mandatory, and (E) indicates exclusive (ie. that parameter and no others may be specified, otherwise that parameter may not be specified).
verb=Document
test: verb=Document
verb=GetRecord
arguments=identifier(M), metadataPrefix(M)
test: verb=GetRecord&identifier=oai:ethnologue.com:aaa&metadataPrefix=oai_dc
test: verb=GetRecord&identifier=oai:ethnologue.com:aaa&metadataPrefix=olac
verb=Identify
test: verb=Identify
verb=ListIdentifiers
arguments=metadataPrefix(M), until(O),
from(O), set(O), resumptionToken(E)
test: verb=ListIdentifiers&metadataPrefix=oai_dc
test: verb=ListIdentifiers&metadataPrefix=olac
test: verb=ListIdentifiers&resumptionToken=part2
test: verb=ListIdentifiers&metadataPrefix=olac&from=2008-01-01
test: verb=ListIdentifiers&metadataPrefix=olac&until=2009-01-01
test: verb=ListIdentifiers&metadataPrefix=olac&from=2008-01-01&until=2009-01-01
verb=ListMetadataFormats
arguments=identifier(O)
test: verb=ListMetadataFormats
test: verb=ListMetadataFormats&identifier=oai:ethnologue.com:aaa
verb=ListRecords
arguments=metadataPrefix(M), until(O),
from(O), set(O), resumptionToken(E)
test: verb=ListRecords&metadataPrefix=oai_dc
test: verb=ListRecords&metadataPrefix=olac
test: verb=ListRecords&resumptionToken=bolac
test: verb=ListRecords&resumptionToken=zolac
verb=ListSets
test: verb=ListSets
In this implementation the following two formats are available for all records.
olachttp://www.language-archives.org/OLAC/1.1/olac.xsd
oai_dchttp://www.openarchives.org/OAI/2.0/oai_dc.xsd
See output from verb=ListMetadataFormats.
The following links test the error conditions reported by this repository:
error=badArgument
test: verb=GetRecord&identifier=oai:ethnologue.com:aaa
test: verb=GetRecord&metadataPrefix=oai_dc
test: verb=ListIdentifiers
test: verb=ListIdentifiers&resumptionToken=part2&metadataPrefix=oai_dc
test: verb=ListRecords
test: verb=ListIdentifiers&metadataPrefix=olac&from=2003-01-01&until=2002-01-01
test: verb=ListIdentifiers&metadataPrefix=olac&from=2003/01/01
test: verb=ListIdentifiers&metadataPrefix=olac&from=2002-12-1
test: verb=ListIdentifiers&metadataPrefix=olac&until=2004-jan-01
error=badResumptionToken
test: verb=ListIdentifiers&resumptionToken=X32
test: verb=ListRecords&resumptionToken=X32
test: verb=ListRecords&resumptionToken=Xolac
error=badVerb
test: verb=Query
error=cannotDisseminateFormat
test: verb=GetRecord&identifier=oai:ethnologue.com:aaa&metadataPrefix=marc
test: verb=ListIdentifiers&metadataPrefix=marc
test: verb=ListRecords&metadataPrefix=marc
error=idDoesNotExist
test: verb=GetRecord&identifier=oai:ethnologue:AAA&metadataPrefix=oai_dc
test: verb=GetRecord&identifier=oai:ethnologue.com:ABCD&metadataPrefix=oai_dc
test: verb=ListMetadataFormats&identifier=oai:ethnologue.com:ab
test: verb=ListMetadataFormats&identifier=oai:ethnologue.com:abcd
error=noRecordsMatch
test: verb=ListIdentifiers&metadataPrefix=olac&from=2009-01-01
test: verb=ListIdentifiers&metadataPrefix=olac&until=2008-01-01
error=noMetadataFormats
Not applicable, since every valid identifier may return both
oai_dc and olac metadata.
error=noSetHierarchy
test: verb=ListSets
test: verb=ListIdentifiers&set=Languages