Sha256: a6736adbec60ae716c471102b77650c459e6c7e9ca9e3afb8cf4dc9f38c0bb58
Contents?: true
Size: 764 Bytes
Versions: 3
Compression:
Stored size: 764 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), verb: "Identify" xml.Identify do xml.repositoryName LibraryGroup.site_config.name xml.baseURL oai_provider_url(format: :xml) 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
enju_oai-0.3.1 | app/views/oai/identify.xml.builder |
enju_oai-0.3.0 | app/views/oai/identify.xml.builder |
enju_oai-0.3.0.beta.1 | app/views/oai/identify.xml.builder |