Ticket #689 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

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

Changed 9 years ago by kjdon

  • owner changed from nobody to kjdon
  • status changed from new to assigned

Changed 9 years ago by kjdon

  • status changed from assigned to closed
  • resolution set to fixed

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.