enju_loc 0.1.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +38 -0
- data/app/assets/javascripts/loc_search.js +2 -0
- data/app/assets/stylesheets/loc_search.css +4 -0
- data/app/controllers/loc_search_controller.rb +49 -0
- data/app/helpers/loc_search_helper.rb +18 -0
- data/app/models/loc_search.rb +97 -0
- data/app/views/loc_search/index.html.erb +49 -0
- data/config/locales/en.yml +13 -0
- data/config/locales/ja.yml +11 -0
- data/config/routes.rb +3 -0
- data/lib/enju_loc.rb +21 -0
- data/lib/enju_loc/engine.rb +7 -0
- data/lib/enju_loc/loc_search.rb +537 -0
- data/lib/enju_loc/version.rb +3 -0
- data/lib/tasks/enju_loc_tasks.rake +4 -0
- data/spec/cassette_library/LocSearch/_ModsRecord/should_parse_MODS_metadata.yml +111 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_a_valid_manifestation.yml +113 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_lcsh_subjects_only.yml +66 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_multiple_series_statements.yml +69 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_distinguish_title_information_with_subject.yml +67 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_a_manifestation_that_has_invalid_classification.yml +81 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_another_serial.yml +85 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_audio_book.yml +91 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource.yml +73 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_note_fields.yml +72 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_publication_year.yml +78 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_serial.yml +70 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_video_publication.yml +204 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_parse_title_information_properly.yml +80 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_support_name_and_title_subjects.yml +77 -0
- data/spec/cassette_library/LocSearch/_search/should_return_a_search_result.yml +353 -0
- data/spec/cassette_library/LocSearchController/GET_index/should_get_index.yml +353 -0
- data/spec/cassette_library/LocSearchController/GET_index/should_get_index_with_page_parameter.yml +415 -0
- data/spec/cassette_library/LocSearchController/POST_create/should_create_a_bibliographic_record_if_lccn_is_set.yml +140 -0
- data/spec/cassette_library/LocSearchController/POST_create/should_not_create_a_bibliographic_record_if_lccn_is_not_set.yml +38 -0
- data/spec/controllers/loc_search_controller_spec.rb +44 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/setting.rb +4 -0
- data/spec/dummy/app/models/user.rb +8 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +47 -0
- data/spec/dummy/config/application.yml +38 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +30 -0
- data/spec/dummy/config/environments/production.rb +60 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/devise.rb +207 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/001_create_agents.rb +50 -0
- data/spec/dummy/db/migrate/002_devise_create_users.rb +46 -0
- data/spec/dummy/db/migrate/005_create_manifestations.rb +44 -0
- data/spec/dummy/db/migrate/006_create_items.rb +21 -0
- data/spec/dummy/db/migrate/012_create_owns.rb +12 -0
- data/spec/dummy/db/migrate/015_create_creates.rb +12 -0
- data/spec/dummy/db/migrate/029_create_subjects.rb +27 -0
- data/spec/dummy/db/migrate/041_create_roles.rb +13 -0
- data/spec/dummy/db/migrate/047_create_produces.rb +12 -0
- data/spec/dummy/db/migrate/059_create_libraries.rb +28 -0
- data/spec/dummy/db/migrate/069_create_shelves.rb +15 -0
- data/spec/dummy/db/migrate/073_create_carrier_types.rb +11 -0
- data/spec/dummy/db/migrate/077_create_user_groups.rb +12 -0
- data/spec/dummy/db/migrate/080_create_library_groups.rb +17 -0
- data/spec/dummy/db/migrate/112_create_frequencies.rb +12 -0
- data/spec/dummy/db/migrate/117_create_form_of_works.rb +12 -0
- data/spec/dummy/db/migrate/120_create_baskets.rb +12 -0
- data/spec/dummy/db/migrate/124_create_bookstores.rb +17 -0
- data/spec/dummy/db/migrate/125_create_donates.rb +12 -0
- data/spec/dummy/db/migrate/130_create_request_status_types.rb +12 -0
- data/spec/dummy/db/migrate/131_create_request_types.rb +12 -0
- data/spec/dummy/db/migrate/142_create_classifications.rb +19 -0
- data/spec/dummy/db/migrate/144_create_classification_types.rb +16 -0
- data/spec/dummy/db/migrate/145_create_subject_heading_types.rb +16 -0
- data/spec/dummy/db/migrate/146_create_subject_types.rb +16 -0
- data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +13 -0
- data/spec/dummy/db/migrate/20080830172106_create_exemplifies.rb +13 -0
- data/spec/dummy/db/migrate/20080905191442_create_agent_types.rb +12 -0
- data/spec/dummy/db/migrate/20081006090811_create_subscriptions.rb +17 -0
- data/spec/dummy/db/migrate/20081006093246_create_subscribes.rb +14 -0
- data/spec/dummy/db/migrate/20081023092436_create_search_engines.rb +17 -0
- data/spec/dummy/db/migrate/20081025083323_create_countries.rb +28 -0
- data/spec/dummy/db/migrate/20081025083905_create_languages.rb +23 -0
- data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +15 -0
- data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +20 -0
- data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +20 -0
- data/spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb +15 -0
- data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +15 -0
- data/spec/dummy/db/migrate/20090719201843_create_extents.rb +12 -0
- data/spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb +12 -0
- data/spec/dummy/db/migrate/20090720091429_create_content_types.rb +12 -0
- data/spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb +12 -0
- data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +27 -0
- data/spec/dummy/db/migrate/20091025080447_create_licenses.rb +12 -0
- data/spec/dummy/db/migrate/20091202124834_create_versions.rb +18 -0
- data/spec/dummy/db/migrate/20091214131723_create_series_statements.rb +13 -0
- data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +14 -0
- data/spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb +9 -0
- data/spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb +13 -0
- data/spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb +9 -0
- data/spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb +10 -0
- data/spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb +13 -0
- data/spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb +12 -0
- data/spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb +13 -0
- data/spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb +12 -0
- data/spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb +11 -0
- data/spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb +15 -0
- data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +11 -0
- data/spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb +9 -0
- data/spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb +9 -0
- data/spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb +9 -0
- data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb +11 -0
- data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +11 -0
- data/spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb +9 -0
- data/spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb +9 -0
- data/spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb +11 -0
- data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +9 -0
- data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +12 -0
- data/spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb +11 -0
- data/spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb +13 -0
- data/spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb +10 -0
- data/spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb +9 -0
- data/spec/dummy/db/migrate/20111124110059_create_create_types.rb +12 -0
- data/spec/dummy/db/migrate/20111124110319_create_realize_types.rb +12 -0
- data/spec/dummy/db/migrate/20111124110355_create_produce_types.rb +12 -0
- data/spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb +7 -0
- data/spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb +5 -0
- data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +6 -0
- data/spec/dummy/db/migrate/20120129014038_create_budget_types.rb +12 -0
- data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +6 -0
- data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +6 -0
- data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +14 -0
- data/spec/dummy/db/migrate/20120406020752_add_url_to_subject.rb +5 -0
- data/spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb +5 -0
- data/spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb +5 -0
- data/spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb +5 -0
- data/spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb +6 -0
- data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb +6 -0
- data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +16 -0
- data/spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb +6 -0
- data/spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb +7 -0
- data/spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb +5 -0
- data/spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb +6 -0
- data/spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb +6 -0
- data/spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb +6 -0
- data/spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb +5 -0
- data/spec/dummy/db/migrate/20130506175303_create_identifier_types.rb +12 -0
- data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +15 -0
- data/spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20140110122216_create_user_import_files.rb +18 -0
- data/spec/dummy/db/migrate/20140110131010_create_user_import_results.rb +11 -0
- data/spec/dummy/db/migrate/20140122054321_create_profiles.rb +20 -0
- data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb +11 -0
- data/spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb +11 -0
- data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140709113413_create_user_export_files.rb +11 -0
- data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +14 -0
- data/spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb +8 -0
- data/spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb +6 -0
- data/spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb +5 -0
- data/spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb +5 -0
- data/spec/dummy/db/schema.rb +1008 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +2139 -0
- data/spec/dummy/log/test.log +21513 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/fixtures/agent_types.yml +35 -0
- data/spec/fixtures/carrier_types.yml +51 -0
- data/spec/fixtures/classification_types.yml +13 -0
- data/spec/fixtures/content_types.yml +19 -0
- data/spec/fixtures/countries.yml +2059 -0
- data/spec/fixtures/frequencies.yml +76 -0
- data/spec/fixtures/identifier_types.yml +36 -0
- data/spec/fixtures/languages.yml +1901 -0
- data/spec/fixtures/roles.yml +35 -0
- data/spec/fixtures/subject_heading_types.yml +39 -0
- data/spec/fixtures/subject_types.yml +42 -0
- data/spec/fixtures/user_has_roles.yml +41 -0
- data/spec/fixtures/users.yml +51 -0
- data/spec/models/loc_search_spec.rb +195 -0
- data/spec/rails_helper.rb +43 -0
- data/spec/spec_helper.rb +47 -0
- data/spec/support/controller_macros.rb +25 -0
- data/spec/support/devise.rb +4 -0
- metadata +615 -0
data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_another_serial.yml
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=88651712&version=1.1&operation=searchRetrieve
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
accept:
|
11
|
+
- ! '*/*'
|
12
|
+
user-agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
content-length:
|
20
|
+
- '4695'
|
21
|
+
server:
|
22
|
+
- Metaproxy/1.5.3
|
23
|
+
connection:
|
24
|
+
- Keep-Alive
|
25
|
+
content-type:
|
26
|
+
- text/xml
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: ! "<?xml version=\"1.0\"?>\n<zs:searchRetrieveResponse xmlns:zs=\"http://www.loc.gov/zing/srw/\"><zs:version>1.1</zs:version><zs:numberOfRecords>1</zs:numberOfRecords><zs:records><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
30
|
+
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
31
|
+
version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
|
32
|
+
\ <titleInfo>\n <title>Superconductor science & technology</title>\n
|
33
|
+
\ </titleInfo>\n <titleInfo type=\"abbreviated\">\n <title>Supercond.
|
34
|
+
sci. technol</title>\n </titleInfo>\n <titleInfo type=\"alternative\">\n
|
35
|
+
\ <title>Superconductor science and technology</title>\n </titleInfo>\n
|
36
|
+
\ <name type=\"corporate\">\n <namePart>Institute of Physics (Great Britain)</namePart>\n
|
37
|
+
\ </name>\n <name type=\"corporate\">\n <namePart>American Institute of
|
38
|
+
Physics</namePart>\n </name>\n <typeOfResource>text</typeOfResource>\n <genre
|
39
|
+
authority=\"marcgt\">periodical</genre>\n <originInfo>\n <place>\n <placeTerm
|
40
|
+
type=\"code\" authority=\"marccountry\">enk</placeTerm>\n </place>\n <place>\n
|
41
|
+
\ <placeTerm type=\"text\">Bristol, UK]</placeTerm>\n </place>\n <publisher>IOP
|
42
|
+
Pub.</publisher>\n <dateIssued>[c1988]-</dateIssued>\n <dateIssued encoding=\"marc\"
|
43
|
+
point=\"start\">1988</dateIssued>\n <dateIssued encoding=\"marc\" point=\"end\">9999</dateIssued>\n
|
44
|
+
\ <issuance>serial</issuance>\n <frequency authority=\"marcfrequency\">Monthly</frequency>\n
|
45
|
+
\ <frequency>Monthly</frequency>\n </originInfo>\n <language>\n <languageTerm
|
46
|
+
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </language>\n
|
47
|
+
\ <physicalDescription>\n <form authority=\"marcform\">print</form>\n <extent>v.
|
48
|
+
: ill. ; 29 cm.</extent>\n </physicalDescription>\n <note type=\"statement
|
49
|
+
of responsibility\" altRepGroup=\"00\"/>\n <note type=\"date/sequential designation\">Vol.
|
50
|
+
1, no. 1-</note>\n <note>Title from cover.</note>\n <note type=\"numbering\">Issues
|
51
|
+
for <v. 2, no. 3-> called also: <Sept. 1989-></note>\n <note
|
52
|
+
type=\"additional physical form\">Also issued on microfiche and online.</note>\n
|
53
|
+
\ <note>Occasionally supplemented by special issues.</note>\n <note>An Institute
|
54
|
+
of Physics journal published by IOP Publishing Ltd in association with the
|
55
|
+
American Institute of Physics.</note>\n <subject authority=\"lcsh\">\n <topic>Superconductivity</topic>\n
|
56
|
+
\ <genre>Periodicals</genre>\n </subject>\n <subject authority=\"lcsh\">\n
|
57
|
+
\ <topic>Superconductors</topic>\n <genre>Periodicals</genre>\n </subject>\n
|
58
|
+
\ <subject authority=\"lcsh\">\n <topic>Electronics</topic>\n <topic>Materials</topic>\n
|
59
|
+
\ <genre>Periodicals</genre>\n </subject>\n <subject authority=\"gtt\">\n
|
60
|
+
\ <topic>Supergeleidend materiaal</topic>\n </subject>\n <classification
|
61
|
+
authority=\"lcc\">QC611.9 .S86</classification>\n <classification authority=\"ddc\"
|
62
|
+
edition=\"19\">537.6/23</classification>\n <location/>\n <relatedItem type=\"isReferencedBy\">\n
|
63
|
+
\ <titleInfo>\n <title>Chemical abstracts</title>\n </titleInfo>\n
|
64
|
+
\ <part>\n <detail type=\"part\">\n <number/>\n </detail>\n
|
65
|
+
\ </part>\n </relatedItem>\n <relatedItem type=\"otherFormat\">\n <titleInfo>\n
|
66
|
+
\ <title>Superconductor science & technology (Online)</title>\n </titleInfo>\n
|
67
|
+
\ <identifier type=\"issn\">1361-6668</identifier>\n <identifier type=\"local\">(DLC)sn
|
68
|
+
96036203</identifier>\n <identifier type=\"local\">(OCoLC)34482308</identifier>\n
|
69
|
+
\ </relatedItem>\n <relatedItem type=\"otherFormat\" displayLabel=\"Online
|
70
|
+
version:\">\n <titleInfo>\n <title>Superconductor science & technology</title>\n
|
71
|
+
\ </titleInfo>\n <identifier type=\"local\">(OCoLC)746111558</identifier>\n
|
72
|
+
\ </relatedItem>\n <identifier type=\"issn\">0953-2048</identifier>\n <identifier
|
73
|
+
type=\"issn-l\">0953-2048</identifier>\n <identifier type=\"lccn\">88651712</identifier>\n
|
74
|
+
\ <identifier type=\"lccn\" invalid=\"yes\">sn 88038157</identifier>\n <identifier
|
75
|
+
type=\"oclc\">ocm18126477</identifier>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
|
76
|
+
\ <recordContentSource authority=\"marcorg\">CoG</recordContentSource>\n
|
77
|
+
\ <recordCreationDate encoding=\"marc\">880623</recordCreationDate>\n <recordChangeDate
|
78
|
+
encoding=\"iso8601\">20130326080756.0</recordChangeDate>\n <recordIdentifier>11347004</recordIdentifier>\n
|
79
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
|
80
|
+
1.94 2014/02/21)</recordOrigin>\n <languageOfCataloging>\n <languageTerm
|
81
|
+
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </languageOfCataloging>\n
|
82
|
+
\ </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
|
83
|
+
http_version: '1.1'
|
84
|
+
recorded_at: Fri, 15 Aug 2014 12:12:03 GMT
|
85
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,91 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=2007576782&version=1.1&operation=searchRetrieve
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
accept:
|
11
|
+
- ! '*/*'
|
12
|
+
user-agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
content-length:
|
20
|
+
- '5221'
|
21
|
+
server:
|
22
|
+
- Metaproxy/1.5.3
|
23
|
+
connection:
|
24
|
+
- Keep-Alive
|
25
|
+
content-type:
|
26
|
+
- text/xml
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: ! "<?xml version=\"1.0\"?>\n<zs:searchRetrieveResponse xmlns:zs=\"http://www.loc.gov/zing/srw/\"><zs:version>1.1</zs:version><zs:numberOfRecords>1</zs:numberOfRecords><zs:records><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
30
|
+
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
31
|
+
version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
|
32
|
+
\ <titleInfo>\n <title>Harry Potter and the prisoner of Azkaban</title>\n
|
33
|
+
\ </titleInfo>\n <name type=\"personal\" usage=\"primary\">\n <namePart>Rowling,
|
34
|
+
J. K.</namePart>\n </name>\n <name type=\"personal\">\n <namePart>Dale,
|
35
|
+
Jim.</namePart>\n <role>\n <roleTerm authority=\"marcrelator\" type=\"code\">nrt</roleTerm>\n
|
36
|
+
\ </role>\n </name>\n <typeOfResource>sound recording-nonmusical</typeOfResource>\n
|
37
|
+
\ <genre authority=\"marcgt\">fiction</genre>\n <originInfo>\n <place>\n
|
38
|
+
\ <placeTerm type=\"code\" authority=\"marccountry\">nyu</placeTerm>\n
|
39
|
+
\ </place>\n <place>\n <placeTerm type=\"text\">New York</placeTerm>\n
|
40
|
+
\ </place>\n <publisher>Random House</publisher>\n <dateIssued>p2000</dateIssued>\n
|
41
|
+
\ <dateIssued encoding=\"marc\">2000</dateIssued>\n <issuance>monographic</issuance>\n
|
42
|
+
\ </originInfo>\n <language>\n <languageTerm authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n
|
43
|
+
\ </language>\n <physicalDescription>\n <form authority=\"gmd\">sound
|
44
|
+
recording</form>\n <form authority=\"marccategory\">sound recording</form>\n
|
45
|
+
\ <form authority=\"marcsmd\">sound disc</form>\n <extent>10 sound discs
|
46
|
+
(ca. 12 hr.) : digital ; 4 3/4 in.</extent>\n </physicalDescription>\n <abstract
|
47
|
+
type=\"Summary\">\"For twelve years, the dread fortress of Azkaban held an
|
48
|
+
infamous prisoner named Sirius Black. Convicted of killing thirteen people
|
49
|
+
with a single curse, he was said to be the heir apparent to the Dark Lord,
|
50
|
+
Voldemort. Now he has escaped, leaving only two clues as to where he might
|
51
|
+
be headed: Harry Potter's defeat of You-Know-Who was Black's downfall as well.
|
52
|
+
And the Azkaban guards heard Black muttering in his sleep, \"He's at Hogwarts.\"
|
53
|
+
Harry Potter isn't safe, not even within the walls of his magical school,
|
54
|
+
surrounded by his friends. Because on top of it all, there may well be a traitor
|
55
|
+
in their midst\"--Container.</abstract>\n <targetAudience authority=\"marctarget\">juvenile</targetAudience>\n
|
56
|
+
\ <note type=\"statement of responsibility\" altRepGroup=\"00\">[J.K. Rowling].</note>\n
|
57
|
+
\ <note>Unabridged.</note>\n <note>Compact discs.</note>\n <note>Statement
|
58
|
+
of responsibility from container.</note>\n <note>Third in the Harry Potter
|
59
|
+
series.</note>\n <note type=\"performers\">Read by Jim Dale.</note>\n <subject>\n
|
60
|
+
\ <geographicCode authority=\"marcgac\">e-uk-en</geographicCode>\n </subject>\n
|
61
|
+
\ <subject authority=\"lcsh\">\n <topic>Potter, Harry (Fictitious character)</topic>\n
|
62
|
+
\ <genre>Juvenile fiction</genre>\n </subject>\n <subject authority=\"lcsh\">\n
|
63
|
+
\ <topic>Hogwarts School of Witchcraft and Wizardry (Imaginary organization)</topic>\n
|
64
|
+
\ <genre>Juvenile fiction</genre>\n </subject>\n <subject authority=\"lcsh\">\n
|
65
|
+
\ <topic>Wizards</topic>\n <genre>Juvenile fiction</genre>\n </subject>\n
|
66
|
+
\ <subject authority=\"lcsh\">\n <topic>Magic</topic>\n <genre>Juvenile
|
67
|
+
fiction</genre>\n </subject>\n <subject authority=\"lcsh\">\n <topic>Schools</topic>\n
|
68
|
+
\ <genre>Juvenile fiction</genre>\n </subject>\n <subject authority=\"lcshac\">\n
|
69
|
+
\ <topic>Wizards</topic>\n <genre>Fiction</genre>\n </subject>\n <subject
|
70
|
+
authority=\"lcshac\">\n <topic>Magic</topic>\n <genre>Fiction</genre>\n
|
71
|
+
\ </subject>\n <subject authority=\"lcshac\">\n <topic>Schools</topic>\n
|
72
|
+
\ <genre>Fiction</genre>\n </subject>\n <subject authority=\"lcsh\">\n
|
73
|
+
\ <geographic>England</geographic>\n <genre>Juvenile fiction</genre>\n
|
74
|
+
\ </subject>\n <subject authority=\"lcshac\">\n <geographic>England</geographic>\n
|
75
|
+
\ <genre>Fiction</genre>\n </subject>\n <classification authority=\"lcc\">SDB
|
76
|
+
61665</classification>\n <identifier type=\"isbn\">0807282324</identifier>\n
|
77
|
+
\ <identifier type=\"lccn\">2007576782</identifier>\n <identifier type=\"issue
|
78
|
+
number\">YA 160 CD Random House</identifier>\n <identifier type=\"oclc\">ocm43963972</identifier>\n
|
79
|
+
\ <identifier type=\"oclc\">43963972</identifier>\n <relatedItem>\n <location>\n
|
80
|
+
\ <url displayLabel=\"Contributor biographical information\">http://www.loc.gov/catdir/enhancements/fy0727/2007576782-b.html</url>\n
|
81
|
+
\ </location>\n </relatedItem>\n <relatedItem>\n <location>\n <url
|
82
|
+
displayLabel=\"Publisher description\">http://www.loc.gov/catdir/enhancements/fy0727/2007576782-d.html</url>\n
|
83
|
+
\ </location>\n </relatedItem>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
|
84
|
+
\ <recordContentSource authority=\"marcorg\">OCO</recordContentSource>\n
|
85
|
+
\ <recordCreationDate encoding=\"marc\">070531</recordCreationDate>\n <recordChangeDate
|
86
|
+
encoding=\"iso8601\">20091216113619.0</recordChangeDate>\n <recordIdentifier>14872104</recordIdentifier>\n
|
87
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
|
88
|
+
1.94 2014/02/21)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
|
89
|
+
http_version: '1.1'
|
90
|
+
recorded_at: Thu, 14 Aug 2014 06:10:44 GMT
|
91
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=2005568297&version=1.1&operation=searchRetrieve
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
accept:
|
11
|
+
- ! '*/*'
|
12
|
+
user-agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
content-length:
|
20
|
+
- '3775'
|
21
|
+
server:
|
22
|
+
- Metaproxy/1.5.3
|
23
|
+
connection:
|
24
|
+
- Keep-Alive
|
25
|
+
content-type:
|
26
|
+
- text/xml
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: ! "<?xml version=\"1.0\"?>\n<zs:searchRetrieveResponse xmlns:zs=\"http://www.loc.gov/zing/srw/\"><zs:version>1.1</zs:version><zs:numberOfRecords>1</zs:numberOfRecords><zs:records><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
30
|
+
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
31
|
+
version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
|
32
|
+
\ <titleInfo>\n <title>ACM portal</title>\n <subTitle>the ACM Digital
|
33
|
+
Library</subTitle>\n </titleInfo>\n <titleInfo type=\"alternative\">\n <title>Association
|
34
|
+
for Computing Machinery portal</title>\n </titleInfo>\n <titleInfo type=\"alternative\"
|
35
|
+
displayLabel=\"Title on HTML header:\">\n <title>ACM Digital Library</title>\n
|
36
|
+
\ </titleInfo>\n <name type=\"corporate\">\n <namePart>ACM Digital Library</namePart>\n
|
37
|
+
\ </name>\n <name type=\"corporate\">\n <namePart>Association for Computing
|
38
|
+
Machinery</namePart>\n </name>\n <typeOfResource>text</typeOfResource>\n
|
39
|
+
\ <originInfo>\n <place>\n <placeTerm type=\"code\" authority=\"marccountry\">nyu</placeTerm>\n
|
40
|
+
\ </place>\n <place>\n <placeTerm type=\"text\">New York]</placeTerm>\n
|
41
|
+
\ </place>\n <publisher>Association for Computing Machinery</publisher>\n
|
42
|
+
\ <dateIssued encoding=\"marc\" point=\"start\">1997</dateIssued>\n <dateIssued
|
43
|
+
encoding=\"marc\" point=\"end\">9999</dateIssued>\n <issuance>monographic</issuance>\n
|
44
|
+
\ </originInfo>\n <language>\n <languageTerm authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n
|
45
|
+
\ </language>\n <physicalDescription>\n <form authority=\"marcform\">electronic</form>\n
|
46
|
+
\ <form authority=\"gmd\">electronic resource</form>\n <form authority=\"marccategory\">electronic
|
47
|
+
resource</form>\n <form authority=\"marcsmd\">remote</form>\n </physicalDescription>\n
|
48
|
+
\ <abstract type=\"Summary\">Provides access to citations of published articles
|
49
|
+
from a variety of ACM publications.</abstract>\n <accessCondition type=\"restriction
|
50
|
+
on access\">ACM members or full-level subscribers have access to full text
|
51
|
+
context, plus all searching functionality. Provides access for non-scribers
|
52
|
+
and the general public to search/browse options offered on the main home page
|
53
|
+
for ACM publications.</accessCondition>\n <note type=\"statement of responsibility\"
|
54
|
+
altRepGroup=\"00\"/>\n <note type=\"date/sequential designation\">Began in
|
55
|
+
1997?</note>\n <note>Title from home page (viewed on Jan. 12, 2005).</note>\n
|
56
|
+
\ <note type=\"system details\">Mode of access: World Wide Web.</note>\n <subject
|
57
|
+
authority=\"lcsh\">\n <topic>Computer science</topic>\n <genre>Bibliography</genre>\n
|
58
|
+
\ </subject>\n <subject authority=\"lcsh\">\n <topic>Information storage
|
59
|
+
and retrieval systems</topic>\n <genre>Bibliography</genre>\n </subject>\n
|
60
|
+
\ <subject authority=\"lcsh\">\n <topic>Electronic data processing</topic>\n
|
61
|
+
\ <genre>Bibliography</genre>\n </subject>\n <classification authority=\"lcc\">Z5640</classification>\n
|
62
|
+
\ <classification authority=\"lcc\">QA76</classification>\n <location>\n
|
63
|
+
\ <url displayLabel=\"electronic resource\" usage=\"primary display\">http://portal.acm.org/dl.cfm</url>\n
|
64
|
+
\ </location>\n <identifier type=\"lccn\">2005568297</identifier>\n <recordInfo>\n
|
65
|
+
\ <descriptionStandard>aacr</descriptionStandard>\n <recordContentSource
|
66
|
+
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">050113</recordCreationDate>\n
|
67
|
+
\ <recordChangeDate encoding=\"iso8601\">20050113150512.0</recordChangeDate>\n
|
68
|
+
\ <recordIdentifier>13841460</recordIdentifier>\n <recordOrigin>Converted
|
69
|
+
from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
|
70
|
+
1.94 2014/02/21)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
|
71
|
+
http_version: '1.1'
|
72
|
+
recorded_at: Wed, 13 Aug 2014 09:04:52 GMT
|
73
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,72 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=2010526151&version=1.1&operation=searchRetrieve
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
accept:
|
11
|
+
- ! '*/*'
|
12
|
+
user-agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
content-length:
|
20
|
+
- '3719'
|
21
|
+
server:
|
22
|
+
- Metaproxy/1.5.3
|
23
|
+
connection:
|
24
|
+
- Keep-Alive
|
25
|
+
content-type:
|
26
|
+
- text/xml
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: ! "<?xml version=\"1.0\"?>\n<zs:searchRetrieveResponse xmlns:zs=\"http://www.loc.gov/zing/srw/\"><zs:version>1.1</zs:version><zs:numberOfRecords>1</zs:numberOfRecords><zs:records><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
30
|
+
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
31
|
+
version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
|
32
|
+
\ <titleInfo>\n <title>Search patterns</title>\n </titleInfo>\n <titleInfo
|
33
|
+
type=\"alternative\" displayLabel=\"On cover:\">\n <title>Design for discovery</title>\n
|
34
|
+
\ </titleInfo>\n <name type=\"personal\" usage=\"primary\">\n <namePart>Morville,
|
35
|
+
Peter.</namePart>\n </name>\n <name type=\"personal\">\n <namePart>Callender,
|
36
|
+
Jeffery.</namePart>\n </name>\n <typeOfResource>text</typeOfResource>\n
|
37
|
+
\ <genre authority=\"marcgt\">bibliography</genre>\n <originInfo>\n <place>\n
|
38
|
+
\ <placeTerm type=\"code\" authority=\"marccountry\">cau</placeTerm>\n
|
39
|
+
\ </place>\n <place>\n <placeTerm type=\"text\">Sebastopol, CA</placeTerm>\n
|
40
|
+
\ </place>\n <publisher>O'Reilly Media</publisher>\n <dateIssued>2010</dateIssued>\n
|
41
|
+
\ <edition>1st ed.</edition>\n <issuance>monographic</issuance>\n </originInfo>\n
|
42
|
+
\ <language>\n <languageTerm authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n
|
43
|
+
\ </language>\n <physicalDescription>\n <form authority=\"marcform\">print</form>\n
|
44
|
+
\ <extent>x, 180 p. : ill. (chiefly col.) ; 24 cm.</extent>\n </physicalDescription>\n
|
45
|
+
\ <abstract type=\"Summary\">This book explores design patterns that apply
|
46
|
+
across the categories of web, e-commerce, enterprise, desktop, mobile, social,
|
47
|
+
and realtime search and discovery. The authors cover topics such as relevance
|
48
|
+
ranking, faceted navigation, multi-touch, and augmented reality together with
|
49
|
+
a practical guide to help us make search better today--Derived from p. [4]
|
50
|
+
of cover.</abstract>\n <tableOfContents>Pattern recognition -- The anatomy
|
51
|
+
of a search -- Behavior -- Design patterns -- Engines of discovery -- Tangible
|
52
|
+
futures.</tableOfContents>\n <note type=\"statement of responsibility\" altRepGroup=\"00\">Peter
|
53
|
+
Morville and Jeffery Callender ; [editor, Simon St. Laurent ; illustrators,
|
54
|
+
Jeff Calender and Nellie McKesson].</note>\n <note>\"This is a book about
|
55
|
+
the design of user interfaces for search and discovery\"--Pref.</note>\n <note>\"January
|
56
|
+
2010\"--T.p. verso.</note>\n <note type=\"bibliography\">Includes bibliographical
|
57
|
+
references and index.</note>\n <subject authority=\"lcsh\">\n <topic>Database
|
58
|
+
design</topic>\n </subject>\n <subject authority=\"lcsh\">\n <topic>Database
|
59
|
+
searching</topic>\n </subject>\n <subject authority=\"lcsh\">\n <topic>User
|
60
|
+
interfaces (Computer systems)</topic>\n </subject>\n <classification authority=\"lcc\">QA76.9.D26
|
61
|
+
M675 2010</classification>\n <classification authority=\"ddc\" edition=\"23\">005.4/37</classification>\n
|
62
|
+
\ <identifier type=\"isbn\">9780596802271 (pbk.)</identifier>\n <identifier
|
63
|
+
type=\"isbn\">0596802277 (pbk.)</identifier>\n <identifier type=\"lccn\">2010526151</identifier>\n
|
64
|
+
\ <identifier type=\"oclc\">ocn441177238</identifier>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
|
65
|
+
\ <recordContentSource authority=\"marcorg\">UKM</recordContentSource>\n
|
66
|
+
\ <recordCreationDate encoding=\"marc\">110609</recordCreationDate>\n <recordChangeDate
|
67
|
+
encoding=\"iso8601\">20111028110535.0</recordChangeDate>\n <recordIdentifier>16819621</recordIdentifier>\n
|
68
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
|
69
|
+
1.94 2014/02/21)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
|
70
|
+
http_version: '1.1'
|
71
|
+
recorded_at: Wed, 13 Aug 2014 07:51:03 GMT
|
72
|
+
recorded_with: VCR 2.9.2
|
data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_publication_year.yml
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=2001315134&version=1.1&operation=searchRetrieve
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
accept:
|
11
|
+
- ! '*/*'
|
12
|
+
user-agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
content-length:
|
20
|
+
- '4304'
|
21
|
+
server:
|
22
|
+
- Metaproxy/1.5.3
|
23
|
+
connection:
|
24
|
+
- Keep-Alive
|
25
|
+
content-type:
|
26
|
+
- text/xml
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: ! "<?xml version=\"1.0\"?>\n<zs:searchRetrieveResponse xmlns:zs=\"http://www.loc.gov/zing/srw/\"><zs:version>1.1</zs:version><zs:numberOfRecords>1</zs:numberOfRecords><zs:records><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
30
|
+
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
31
|
+
version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
|
32
|
+
\ <titleInfo>\n <title>Oversight hearings to examine the laws, policies,
|
33
|
+
practices, and operations of the DOI, DOE, and other agencies pertaining to
|
34
|
+
payments to their employees, including payments relative to mineral royalty
|
35
|
+
programs and policies from public lands and Indian lands</title>\n <subTitle>oversight
|
36
|
+
hearings before the Subcommittee on Energy and Mineral Resources of the Committee
|
37
|
+
on Resources, House of Representatives, One Hundred Sixth Congress, second
|
38
|
+
session, May 4 and 18, 2000, Washington, DC</subTitle>\n </titleInfo>\n <name
|
39
|
+
type=\"corporate\">\n <namePart>United States</namePart>\n <namePart>Congress.</namePart>\n
|
40
|
+
\ <namePart>House.</namePart>\n <namePart>Committee on Resources.</namePart>\n
|
41
|
+
\ <namePart>Subcommittee on Energy and Mineral Resources.</namePart>\n </name>\n
|
42
|
+
\ <typeOfResource>text</typeOfResource>\n <genre authority=\"marcgt\">bibliography</genre>\n
|
43
|
+
\ <originInfo>\n <place>\n <placeTerm type=\"code\" authority=\"marccountry\">dcu</placeTerm>\n
|
44
|
+
\ </place>\n <place>\n <placeTerm type=\"text\">Washington</placeTerm>\n
|
45
|
+
\ </place>\n <publisher>U.S. G.P.O.</publisher>\n <publisher>[U.S.
|
46
|
+
G.P.O., Supt. of Docs., Congressional Sales Office, distributor]</publisher>\n
|
47
|
+
\ <dateIssued>1999 [i.e. 2000]</dateIssued>\n <dateIssued encoding=\"marc\">2000</dateIssued>\n
|
48
|
+
\ <issuance>monographic</issuance>\n </originInfo>\n <language>\n <languageTerm
|
49
|
+
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </language>\n
|
50
|
+
\ <physicalDescription>\n <form authority=\"marcform\">print</form>\n <extent>iii,
|
51
|
+
333 p. ; 24 cm.</extent>\n </physicalDescription>\n <note type=\"statement
|
52
|
+
of responsibility\" altRepGroup=\"00\"/>\n <note>Distributed to some depository
|
53
|
+
libraries in microfiche.</note>\n <note>Shipping list no.: 2001-0059-P.</note>\n
|
54
|
+
\ <note>\"Serial no. 106-73.\"</note>\n <note type=\"bibliography\">Includes
|
55
|
+
bibliographical references.</note>\n <subject>\n <geographicCode authority=\"marcgac\">n-us---</geographicCode>\n
|
56
|
+
\ </subject>\n <subject authority=\"lcsh\">\n <topic>Oil and gas leases</topic>\n
|
57
|
+
\ <geographic>United States</geographic>\n </subject>\n <subject authority=\"lcsh\">\n
|
58
|
+
\ <topic>Oil fields</topic>\n <topic>Valuation</topic>\n <topic>Corrupt
|
59
|
+
practices</topic>\n <geographic>United States</geographic>\n </subject>\n
|
60
|
+
\ <subject authority=\"lcsh\">\n <topic>Governmental investigations</topic>\n
|
61
|
+
\ <geographic>United States</geographic>\n </subject>\n <subject authority=\"lcsh\">\n
|
62
|
+
\ <topic>Abuse of administrative power</topic>\n <geographic>United States</geographic>\n
|
63
|
+
\ </subject>\n <subject authority=\"lcsh\">\n <geographic>United States</geographic>\n
|
64
|
+
\ <topic>Officials and employees</topic>\n <topic>Professional ethics</topic>\n
|
65
|
+
\ </subject>\n <classification authority=\"lcc\">KF27 .R3846 2000</classification>\n
|
66
|
+
\ <location>\n <url displayLabel=\"Text version:\" usage=\"primary display\">http://purl.access.gpo.gov/GPO/LPS7996</url>\n
|
67
|
+
\ </location>\n <location>\n <url displayLabel=\"PDF version:\" note=\"Adobe
|
68
|
+
Acrobat Reader required\">http://purl.access.gpo.gov/GPO/LPS7840</url>\n </location>\n
|
69
|
+
\ <identifier type=\"isbn\">016064464X</identifier>\n <identifier type=\"lccn\">2001315134</identifier>\n
|
70
|
+
\ <identifier type=\"oclc\">ocm45694064</identifier>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
|
71
|
+
\ <recordContentSource authority=\"marcorg\">DGPO/DLC</recordContentSource>\n
|
72
|
+
\ <recordCreationDate encoding=\"marc\">010112</recordCreationDate>\n <recordChangeDate
|
73
|
+
encoding=\"iso8601\">20030430134501.0</recordChangeDate>\n <recordIdentifier>12277596</recordIdentifier>\n
|
74
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
|
75
|
+
1.94 2014/02/21)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
|
76
|
+
http_version: '1.1'
|
77
|
+
recorded_at: Fri, 15 Aug 2014 21:00:41 GMT
|
78
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,70 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=00200486&version=1.1&operation=searchRetrieve
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
accept:
|
11
|
+
- ! '*/*'
|
12
|
+
user-agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
content-length:
|
20
|
+
- '3594'
|
21
|
+
server:
|
22
|
+
- Metaproxy/1.5.3
|
23
|
+
connection:
|
24
|
+
- Keep-Alive
|
25
|
+
content-type:
|
26
|
+
- text/xml
|
27
|
+
body:
|
28
|
+
encoding: US-ASCII
|
29
|
+
string: ! "<?xml version=\"1.0\"?>\n<zs:searchRetrieveResponse xmlns:zs=\"http://www.loc.gov/zing/srw/\"><zs:version>1.1</zs:version><zs:numberOfRecords>1</zs:numberOfRecords><zs:records><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
30
|
+
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
31
|
+
version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
|
32
|
+
\ <titleInfo>\n <title>Science and technology of advanced materials</title>\n
|
33
|
+
\ </titleInfo>\n <titleInfo type=\"alternative\">\n <title>STAM</title>\n
|
34
|
+
\ </titleInfo>\n <typeOfResource>text</typeOfResource>\n <genre authority=\"marcgt\">periodical</genre>\n
|
35
|
+
\ <originInfo>\n <place>\n <placeTerm type=\"code\" authority=\"marccountry\">enk</placeTerm>\n
|
36
|
+
\ </place>\n <place>\n <placeTerm type=\"text\">Kidlington, Oxford</placeTerm>\n
|
37
|
+
\ </place>\n <publisher>Elsevier</publisher>\n <dateIssued>c2000-</dateIssued>\n
|
38
|
+
\ <dateIssued encoding=\"marc\" point=\"start\">2000</dateIssued>\n <dateIssued
|
39
|
+
encoding=\"marc\" point=\"end\">9999</dateIssued>\n <issuance>serial</issuance>\n
|
40
|
+
\ <frequency authority=\"marcfrequency\">Eight times a year, <Oct. 2006-></frequency>\n
|
41
|
+
\ <frequency authority=\"marcfrequency\">Bimonthly, Jan. 2003-Nov. 2004</frequency>\n
|
42
|
+
\ <frequency authority=\"marcfrequency\">Quarterly, Mar. 2000-Dec. 2002</frequency>\n
|
43
|
+
\ <frequency>Bimonthly</frequency>\n </originInfo>\n <language>\n <languageTerm
|
44
|
+
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </language>\n
|
45
|
+
\ <physicalDescription>\n <form authority=\"marcform\">print</form>\n <form
|
46
|
+
authority=\"marccategory\">electronic resource</form>\n <form authority=\"marcsmd\">remote</form>\n
|
47
|
+
\ <extent>v. : ill. (some col.) ; 28 cm.</extent>\n </physicalDescription>\n
|
48
|
+
\ <note type=\"statement of responsibility\" altRepGroup=\"00\"/>\n <note
|
49
|
+
type=\"date/sequential designation\">Vol. 1, no. 1 (Mar. 2000)-</note>\n <note>Title
|
50
|
+
from cover.</note>\n <subject authority=\"lcsh\">\n <topic>Materials</topic>\n
|
51
|
+
\ <genre>Periodicals</genre>\n </subject>\n <classification authority=\"lcc\">TA401
|
52
|
+
. S43</classification>\n <classification authority=\"ddc\" edition=\"21\">620.11</classification>\n
|
53
|
+
\ <relatedItem type=\"otherFormat\" displayLabel=\"Online version:\">\n <titleInfo>\n
|
54
|
+
\ <title>Science and technology of advanced materials (Online)</title>\n
|
55
|
+
\ </titleInfo>\n <identifier type=\"local\">(DLC) 2006252072</identifier>\n
|
56
|
+
\ <identifier type=\"local\">(OCoLC)44189485</identifier>\n </relatedItem>\n
|
57
|
+
\ <identifier type=\"issn\">1468-6996</identifier>\n <identifier type=\"issn-l\">1468-6996</identifier>\n
|
58
|
+
\ <identifier type=\"lccn\">00200486</identifier>\n <identifier type=\"oclc\">ocm45146478</identifier>\n
|
59
|
+
\ <identifier type=\"stock number\">Elsevier Science Ltd, The Boulevard, Langford
|
60
|
+
Lane, Kidlington, Oxford OX5 1GB</identifier>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
|
61
|
+
\ <recordContentSource authority=\"marcorg\">DLC</recordContentSource>\n
|
62
|
+
\ <recordCreationDate encoding=\"marc\">000629</recordCreationDate>\n <recordChangeDate
|
63
|
+
encoding=\"iso8601\">20130411075335.0</recordChangeDate>\n <recordIdentifier>12085315</recordIdentifier>\n
|
64
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
|
65
|
+
1.94 2014/02/21)</recordOrigin>\n <languageOfCataloging>\n <languageTerm
|
66
|
+
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </languageOfCataloging>\n
|
67
|
+
\ </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
|
68
|
+
http_version: '1.1'
|
69
|
+
recorded_at: Fri, 15 Aug 2014 07:51:24 GMT
|
70
|
+
recorded_with: VCR 2.9.2
|