Sha256: b7bea7028120c825397bca19e1685024931865fb7baeda473b0abc6daf012f3c

Contents?: true

Size: 478 Bytes

Versions: 6

Compression:

Stored size: 478 Bytes

Contents

begin
  require 'oai'
rescue LoadError
  puts "ERROR: You have enabled the Talia OAI interface, but the OAI library was not found."
  puts "Please do 'gem install oai_talia' to fix this. (Gem is hosted on gemcutter.org)"
  puts 
  raise
end

class TaliaOaiProvider < OAI::Provider::Base
  repository_name 'Talia OAI Interface'
  repository_url N::LOCAL.oai.to_s
  record_prefix 'oai:talia'
  admin_email 'root@localhost'
  source_model TaliaCore::Oai::ActiveSourceModel.new
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
talia_core-0.7.0 generators/talia_oai/templates/oai_initializer.rb
talia_core-0.5.4 generators/talia_oai/templates/oai_initializer.rb
talia_core-0.5.3 generators/talia_oai/templates/oai_initializer.rb
talia_core-0.5.2 generators/talia_oai/templates/oai_initializer.rb
talia_core-0.5.1 generators/talia_oai/templates/oai_initializer.rb
talia_core-0.5.0 generators/talia_oai/templates/oai_initializer.rb