Sha256: 5fb342eda84982903a7a4c1aa1d5477a958ff0c74e46c04c9afd36f5bb84703c

Contents?: true

Size: 443 Bytes

Versions: 3

Compression:

Stored size: 443 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 oai_provider_url(format: :xml)
  @oai[:errors].each do |error|
    xml.error code: error
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_oai-0.3.1 app/views/oai/provider.xml.builder
enju_oai-0.3.0 app/views/oai/provider.xml.builder
enju_oai-0.3.0.beta.1 app/views/oai/provider.xml.builder