Opened 11 years ago

Closed 11 years ago

#689 closed defect (fixed)

oai server identifier format

Reported by: kjdon Owned by: kjdon
Priority: moderate Milestone: 2.84 Release
Component: Greenstone2 Runtime Severity: major
Keywords: Cc:

Description

Currently we are using collname:id

The identifier should be a URI. So the first bit should be a schema name. (like http:, oai:)

OAI schema, version 1.1

oai:unique-repos-id:unique-id-within-repos

unique-repos-id can be a-zA-Z0-9

OAI schema, version 2.0

oai:domain-name:id

Does domain name need to be registered???

You can use a custom URI scheme instead of the OAI scheme. Can't use oai: unless using the oai schema.

Suggestion: add a new parameter to oai.cfg which is the repository id (can be id or domain name). Then construct ids like

oai:repos-id:collname/docid

Change History (2)

comment:1 by kjdon, 11 years ago

Owner: changed from nobody to kjdon
Status: newassigned

comment:2 by kjdon, 11 years ago

Resolution: fixed
Status: assignedclosed

I have implemented it like oai:repos-id:collection:doc

repositoryId and repositoryIdVersion must be specified in oai.cfg

Note: See TracTickets for help on using tickets.