Sha256: 6a717eb2bb4a3a169d74b5afae164d01f53f46f21cac7dcd1df7cb413816057c
Contents?: true
Size: 1.06 KB
Versions: 13
Compression:
Stored size: 1.06 KB
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 => "GetRecord" xml.GetRecord do xml.record do xml.header do xml.identifier @manifestation.oai_identifier xml.datestamp @manifestation.updated_at.utc.iso8601 xml.setSpec @manifestation.series_statement.id if @manifestation.series_statement end xml.metadata do xml.tag! "oai_dc:dc", "xsi:schemaLocation" => "http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd", "xmlns:oai_dc" => "http://www.openarchives.org/OAI/2.0/oai_dc/", "xmlns:dc" => "http://purl.org/dc/elements/1.1/" do xml.tag! "dc:title", @manifestation.original_title end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems