Module: BerkeleyLibrary::AV::Metadata::Readers::TIND
- Includes:
- Base
- Defined in:
- lib/berkeley_library/av/metadata/readers/tind.rb
Constant Summary collapse
- TIND_ID_FIELD =
'035__a'.freeze
- ID_FIELDS =
{ AV::RecordId::Type::MILLENNIUM => '901__m'.freeze, AV::RecordId::Type::OCLC => '901__o'.freeze }.freeze
Constants included from Util
Instance Method Summary collapse
Methods included from Base
Methods included from Util
#class_name, #compare_by_attributes, #compare_values, #do_get, #tidy_value
Instance Method Details
#marc_uri_for(record_id) ⇒ Object
21 22 23 24 25 26 27 28 |
# File 'lib/berkeley_library/av/metadata/readers/tind.rb', line 21 def marc_uri_for(record_id) id_field = id_field_for(record_id) query_string = URI.encode_www_form( 'p' => "#{id_field}:\"#{record_id}\"", 'of' => 'xm' ) URIs.append(base_uri, 'search', '?', query_string) end |