Sha256: b43ec05fa67128a7e28542cd34449273d5da190592962f4abd32a498e8af589f

Contents?: true

Size: 772 Bytes

Versions: 5

Compression:

Stored size: 772 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), :verb => "Identify"
  xml.Identify do
    xml.repositoryName LibraryGroup.site_config.name
    xml.baseURL manifestations_url(format: :oai)
    xml.protocolVersion "2.0"
    xml.adminEmail LibraryGroup.site_config.user.email
    xml.earliestDatestamp Manifestation.last.created_at.utc.iso8601 if Manifestation.last
    xml.deletedRecord "no"
    xml.granularity "YYYY-MM-DDThh:mm:ssZ"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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