Sha256: a93025378dc8b59c8a1246de0be3536672bc6044446c371e46cccbfd8db391c9

Contents?: true

Size: 449 Bytes

Versions: 6

Compression:

Stored size: 449 Bytes

Contents

xml.instruct! :xml, :version=>"1.0"
xml.tag! "OAI-PMH",
  :xmlns => "http://www.openarchives.org/OAI/2.0/",
  "xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
  "xsi:schemaLocation" => "http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd" do
  xml.responseDate Time.zone.now.utc.iso8601
  xml.request manifestations_url(format: :oai)
  @oai[:errors].each do |error|
    xml.error :code => error
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enju_oai-0.1.0.pre19 app/views/manifestations/index.oai.builder
enju_oai-0.1.0.pre18 app/views/manifestations/index.oai.builder
enju_oai-0.1.0.pre17 app/views/manifestations/index.oai.builder
enju_oai-0.1.0.pre16 app/views/manifestations/index.oai.builder
enju_oai-0.1.0.pre15 app/views/manifestations/index.oai.builder
enju_oai-0.1.0.pre14 app/views/manifestations/index.oai.builder