Opened 14 years ago

Closed 14 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:


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


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

OAI schema, version 2.0


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


Change History (2)

comment:1 by kjdon, 14 years ago

Owner: changed from nobody to kjdon
Status: newassigned

comment:2 by kjdon, 14 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.