Module: OaiPmh::Const
- Defined in:
- lib/oaipmh/constants.rb
Constant Summary collapse
- VERBS =
OAI defines six verbs with various allowable options.
{ 'Identify' => [], 'ListMetadataFormats' => [], 'ListSets' => [:token], 'GetRecord' => [:id, :from, :until, :set, :prefix, :token], 'ListIdentifiers' => [:from, :until, :set, :prefix, :token], 'ListRecords' => [:from, :until, :set, :prefix, :token] }.freeze
- RESERVED_WORDS =
Common to many data source, and sadly also a method on object.
%{type}.freeze
- DEFAULTS =
Default configuration of a repository
{ :name => 'Open Archives Initiative Data Provider', :url => 'unknown', :prefix => 'oai:localhost', :email => 'nobody@localhost', :deletes => 'no', :granularity => 'YYYY-MM-DDThh:mm:ssZ', :formats => OaiPmh::METADATA }.freeze