oclc online computer library center srw & oai ralph levan oclc research

7
OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research

Upload: christopher-perez

Post on 27-Mar-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research

OCLC Online Computer Library Center

SRW & OAIRalph LeVan

OCLC Research

Page 2: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research

OAI Search RequirementsOAI Search Requirements

Find a specific record

Restrict the database by date

Restrict the database by Set ID

Page 3: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research

OAI Retrieval RequirementsOAI Retrieval Requirements

<oai:header xmlns="http://www.w3.org/TR/xhtml1/strict" xmlns:oai="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<oai:identifier>ocm56385578</oai:identifier>

<oai:datestamp>2004-09-29</oai:datestamp>

</oai:header>

Page 4: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research

SRW/U-OAI ProfileSRW/U-OAI ProfileOAI context set for search

OAI Header schema for retrieval

Page 5: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research

OAI Context SetOAI Context Setoai.identifier: contains arbitrary text used with the exact relation

oai.datestamp: contains dates of the form yyyy-mm-dd used with the numeric relations

oai.setId: contains arbitrary text used with the exact relation

Page 6: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research

Example RequestExample Requesthttp://localhost:8080/SRW/search/ORPublications

? query=oai.datestamp > ”2004-01-01”& version=1.1&operation=searchRetrieve& recordSchema=http%3A%2F%2Fwww.openarchives.org%2FOAI%2F2.0%2F%23header&maximumRecords=1&startRecord=1

Page 7: OCLC Online Computer Library Center SRW & OAI Ralph LeVan OCLC Research

Example ResponseExample Response<numberOfRecords>693</numberOfRecords>

<records> <record>

<recordSchema>http://www.openarchives.org/OAI/2.0/#header</recordSchema>

<recordPacking>xml</recordPacking>

<recordData>

<oai:header xmlns="http://www.w3.org/TR/xhtml1/strict" xmlns:oai="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<oai:identifier>ocm56578713</oai:identifier>

<oai:datestamp>2004-09-29</oai:datestamp>

</oai:header>

</recordData>

<recordPosition>1</recordPosition> </record> </records>

<nextRecordPosition>11</nextRecordPosition>