harvestdor 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,98 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://purl-test.stanford.edu/bb375wb8869.xml
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: ''
20
+ headers:
21
+ Date:
22
+ - Mon, 28 Jul 2014 22:21:41 GMT
23
+ Server:
24
+ - Apache/2.2.15 (Red Hat)
25
+ X-Powered-By:
26
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.19
27
+ X-Ua-Compatible:
28
+ - IE=Edge
29
+ Etag:
30
+ - '"c7e2680ca3a1d497d6e46962eac8bb2d"'
31
+ Cache-Control:
32
+ - max-age=0, private, must-revalidate
33
+ X-Request-Id:
34
+ - 1c3024f989a904b9443fbb209cbb4be8
35
+ X-Runtime:
36
+ - '0.010011'
37
+ Status:
38
+ - '200'
39
+ Content-Length:
40
+ - '4349'
41
+ Content-Type:
42
+ - application/xml; charset=utf-8
43
+ body:
44
+ encoding: UTF-8
45
+ string: "<publicObject id=\"druid:bb375wb8869\" published=\"2012-01-26T16:39:44-08:00\">\n
46
+ \ <identityMetadata>\n <adminPolicy>druid:xs835jp8197</adminPolicy>\n <objectCreator>DOR</objectCreator>\n
47
+ \ <objectId>druid:bb375wb8869</objectId>\n <objectLabel>Kitai_bb375wb8869</objectLabel>\n
48
+ \ <objectType>item</objectType>\n <otherId name=\"uuid\">15ffc446-25f5-11e1-b6f0-0016034322e7</otherId>\n
49
+ \ <tag>Project : Kitai</tag>\n </identityMetadata>\n <contentMetadata
50
+ type=\"image\" objectId=\"bb375wb8869\">\n <resource type=\"image\" sequence=\"1\"
51
+ id=\"bb375wb8869_1\">\n <label>kitai_4</label>\n <file mimetype=\"image/jp2\"
52
+ format=\"JPEG2000\" size=\"8116154\" id=\"36105005868828_05_0001.jp2\">\n
53
+ \ <imageData height=\"6007\" width=\"7175\"/>\n <attr name=\"representation\">uncropped</attr>\n
54
+ \ </file>\n </resource>\n <resource type=\"image\" sequence=\"2\"
55
+ id=\"bb375wb8869_2\">\n <label>kitai_4</label>\n <file mimetype=\"image/jp2\"
56
+ format=\"JPEG2000\" size=\"8141860\" id=\"36105005868828_05_0002.jp2\">\n
57
+ \ <imageData height=\"6017\" width=\"7174\"/>\n <attr name=\"representation\">uncropped</attr>\n
58
+ \ </file>\n </resource>\n </contentMetadata>\n <rightsMetadata>\n
59
+ \ <access type=\"discover\">\n <machine>\n <world/>\n </machine>\n
60
+ \ </access>\n <access type=\"read\">\n <machine>\n <group>stanford</group>\n
61
+ \ </machine>\n </access>\n </rightsMetadata>\n <rdf:RDF xmlns:fedora-model=\"info:fedora/fedora-system:def/model#\"
62
+ xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:fedora=\"info:fedora/fedora-system:def/relations-external#\"
63
+ xmlns:hydra=\"http://projecthydra.org/ns/relations#\">\n <rdf:Description
64
+ rdf:about=\"info:fedora/druid:bb375wb8869\">\n </rdf:Description>\n </rdf:RDF>\n
65
+ \ <oai_dc:dc xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:srw_dc=\"info:srw/schema/1/dc-schema\"
66
+ xmlns:oai_dc=\"http://www.openarchives.org/OAI/2.0/oai_dc/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
67
+ xsi:schemaLocation=\"http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd\">\n
68
+ \ <dc:title>Kita&#x12D;</dc:title>\n <dc:title>China</dc:title>\n <dc:creator>Soviet
69
+ Union Sovetskai&#x361;a Armii&#x361;a. General&#x2B9;ny&#x12D; shtab.</dc:creator>\n
70
+ \ <dc:type>map</dc:type>\n <dc:date>1968-9999</dc:date>\n <dc:publisher>General&#x2B9;ny&#x12D;
71
+ shtab</dc:publisher>\n <dc:language>rus</dc:language>\n <dc:format>maps
72
+ : col. ; 37 x 53 cm. or smaller.</dc:format>\n <dc:format>map</dc:format>\n
73
+ \ <dc:description>Military topographic maps.</dc:description>\n <dc:description>Relief
74
+ shown by contours and spot heights. Depths shown by contours and soundings
75
+ on some sheets.</dc:description>\n <dc:description>Name of jurisdiction[s]
76
+ covered by sheet quadrangle appears in upper margin at left, e.g.: Provint&#x361;sii&#x361;a
77
+ Guandun -- Avtonomny&#x12D; ra&#x12D;on Vnutrenni&#x361;ai&#x361;a Mongolii&#x361;a,
78
+ Provint&#x361;sii Kh&#x117;b&#x117;&#x12D;, Shan&#x2B9;si. May include name
79
+ and province of neighboring country.</dc:description>\n <dc:description>Common
80
+ title precedes jurisdiction name at upper left on each sheet.</dc:description>\n
81
+ \ <dc:description>Sheets individually subtitled and numbered (with roman-alphabet
82
+ lettering) in upper margin, e.g.: Ch&#x117;nma&#x12D;, E-49-III -- Sich&#x117;n,
83
+ K-50-XXXI.</dc:description>\n <dc:description>Ed./publication date in upper
84
+ border at right, e.g.: Izdanie 1970 g. -- Izdanie 1986 g. -- Izdanie 1991
85
+ g.</dc:description>\n <dc:description>Former security classification in
86
+ upper margin at right: Sekretno.</dc:description>\n <dc:description>Includes
87
+ notes, diagrams, compilation date[s], and sheet compiler's/editor's names
88
+ in lower margin.</dc:description>\n <dc:description>Blue sheet no. in upper
89
+ margin precedes black sheet no., e.g.: 05-49-01 -- 11-50-31.</dc:description>\n
90
+ \ <dc:description>Text and ancillary map, \"Skhema gruntov,\" on verso.</dc:description>\n
91
+ \ <dc:description>In Russian.</dc:description>\n <dc:subject/>\n <dc:coverage>Scale
92
+ 1:200,000. 1 cm. to 2 km.</dc:coverage>\n <dc:coverage>116.0,27.333333
93
+ \n117.0,27.333333 \n117.0,26.666667 \n116.0,26.666667 \n116.0,27.333333\n</dc:coverage>\n
94
+ \ <dc:coverage>Pulkovo 1942</dc:coverage>\n <dc:subject>Military maps</dc:subject>\n
95
+ \ <dc:subject/>\n <dc:coverage>China</dc:coverage>\n </oai_dc:dc>\n</publicObject>\n"
96
+ http_version:
97
+ recorded_at: Mon, 28 Jul 2014 22:21:41 GMT
98
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,93 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://purl-test.stanford.edu/bb375wb8869.mods
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: ''
20
+ headers:
21
+ Date:
22
+ - Mon, 28 Jul 2014 22:21:03 GMT
23
+ Server:
24
+ - Apache/2.2.15 (Red Hat)
25
+ X-Powered-By:
26
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.19
27
+ X-Ua-Compatible:
28
+ - IE=Edge
29
+ Etag:
30
+ - '"34b035d74b8c77a9948beea44065b7ef"'
31
+ Cache-Control:
32
+ - max-age=0, private, must-revalidate
33
+ X-Request-Id:
34
+ - 8254d9203d201f30c6b3c8d5b942288b
35
+ X-Runtime:
36
+ - '0.014492'
37
+ Status:
38
+ - '200'
39
+ Content-Length:
40
+ - '3704'
41
+ Content-Type:
42
+ - application/xml; charset=utf-8
43
+ body:
44
+ encoding: UTF-8
45
+ string: "<mods xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
46
+ version=\"3.3\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd\">\n
47
+ \ <titleInfo>\n <title>Kita&#x12D;</title>\n </titleInfo>\n <titleInfo
48
+ type=\"alternative\">\n <title>China</title>\n </titleInfo>\n <name
49
+ type=\"corporate\">\n <namePart>Soviet Union</namePart>\n <namePart>Sovetskai&#x361;a
50
+ Armii&#x361;a.</namePart>\n <namePart>General&#x2B9;ny&#x12D; shtab.</namePart>\n
51
+ \ <role>\n <roleTerm authority=\"marcrelator\" type=\"text\">creator</roleTerm>\n
52
+ \ </role>\n </name>\n <typeOfResource>cartographic</typeOfResource>\n
53
+ \ <genre authority=\"marcgt\">map</genre>\n <originInfo>\n <place>\n
54
+ \ <placeTerm type=\"code\" authority=\"marccountry\">ru</placeTerm>\n
55
+ \ </place>\n <place>\n <placeTerm type=\"text\">[Moscow?]</placeTerm>\n
56
+ \ </place>\n <publisher>General&#x2B9;ny&#x12D; shtab</publisher>\n
57
+ \ <dateIssued>[1968?-</dateIssued>\n <dateIssued encoding=\"marc\"
58
+ point=\"start\" keyDate=\"yes\">1968</dateIssued>\n <dateIssued encoding=\"marc\"
59
+ point=\"end\">9999</dateIssued>\n <issuance>monographic</issuance>\n
60
+ \ </originInfo>\n <language>\n <languageTerm authority=\"iso639-2b\"
61
+ type=\"code\">rus</languageTerm>\n </language>\n <physicalDescription>\n
62
+ \ <form authority=\"smd\">map</form>\n <extent>maps : col. ; 37 x
63
+ 53 cm. or smaller.</extent>\n </physicalDescription>\n <note>Military
64
+ topographic maps.</note>\n <note>Relief shown by contours and spot heights.
65
+ Depths shown by contours and soundings on some sheets.</note>\n <note>Name
66
+ of jurisdiction[s] covered by sheet quadrangle appears in upper margin at
67
+ left, e.g.: Provint&#x361;sii&#x361;a Guandun -- Avtonomny&#x12D; ra&#x12D;on
68
+ Vnutrenni&#x361;ai&#x361;a Mongolii&#x361;a, Provint&#x361;sii Kh&#x117;b&#x117;&#x12D;,
69
+ Shan&#x2B9;si. May include name and province of neighboring country.</note>\n
70
+ \ <note>Common title precedes jurisdiction name at upper left on each sheet.</note>\n
71
+ \ <note>Sheets individually subtitled and numbered (with roman-alphabet lettering)
72
+ in upper margin, e.g.: Ch&#x117;nma&#x12D;, E-49-III -- Sich&#x117;n, K-50-XXXI.</note>\n
73
+ \ <note>Ed./publication date in upper border at right, e.g.: Izdanie 1970
74
+ g. -- Izdanie 1986 g. -- Izdanie 1991 g.</note>\n <note>Former security
75
+ classification in upper margin at right: Sekretno.</note>\n <note>Includes
76
+ notes, diagrams, compilation date[s], and sheet compiler's/editor's names
77
+ in lower margin.</note>\n <note>Blue sheet no. in upper margin precedes
78
+ black sheet no., e.g.: 05-49-01 -- 11-50-31.</note>\n <note>Text and ancillary
79
+ map, \"Skhema gruntov,\" on verso.</note>\n <note>In Russian.</note>\n <subject>\n
80
+ \ <geographicCode authority=\"marcgac\">a-cc---</geographicCode>\n </subject>\n
81
+ \ <subject>\n <cartographics>\n <scale>Scale 1:200,000. 1 cm.
82
+ to 2 km.</scale>\n <coordinates>116.0,27.333333 \n117.0,27.333333 \n117.0,26.666667
83
+ \n116.0,26.666667 \n116.0,27.333333\n</coordinates><projection>Pulkovo 1942</projection></cartographics>\n
84
+ \ </subject>\n <subject authority=\"lcsh\">\n <topic>Military maps</topic>\n
85
+ \ </subject>\n <subject authority=\"lcsh\">\n <geographic>China</geographic>\n
86
+ \ <genre>Maps, Topographic</genre>\n </subject>\n <recordInfo>\n <descriptionStandard>aacr2</descriptionStandard>\n
87
+ \ <recordContentSource authority=\"marcorg\">NYP</recordContentSource>\n
88
+ \ <recordCreationDate encoding=\"marc\">991004</recordCreationDate>\n
89
+ \ <recordChangeDate encoding=\"iso8601\">20080506185127.0</recordChangeDate>\n
90
+ \ <recordIdentifier source=\"SIRSI\">a3195852</recordIdentifier>\n </recordInfo>\n</mods>\n"
91
+ http_version:
92
+ recorded_at: Mon, 28 Jul 2014 22:21:03 GMT
93
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,98 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://purl-test.stanford.edu/bb375wb8869.xml
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: ''
20
+ headers:
21
+ Date:
22
+ - Mon, 28 Jul 2014 22:25:54 GMT
23
+ Server:
24
+ - Apache/2.2.15 (Red Hat)
25
+ X-Powered-By:
26
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.19
27
+ X-Ua-Compatible:
28
+ - IE=Edge
29
+ Etag:
30
+ - '"c7e2680ca3a1d497d6e46962eac8bb2d"'
31
+ Cache-Control:
32
+ - max-age=0, private, must-revalidate
33
+ X-Request-Id:
34
+ - 29a78fa3c7d5fc91d09b7927802a0771
35
+ X-Runtime:
36
+ - '0.010779'
37
+ Status:
38
+ - '200'
39
+ Content-Length:
40
+ - '4349'
41
+ Content-Type:
42
+ - application/xml; charset=utf-8
43
+ body:
44
+ encoding: UTF-8
45
+ string: "<publicObject id=\"druid:bb375wb8869\" published=\"2012-01-26T16:39:44-08:00\">\n
46
+ \ <identityMetadata>\n <adminPolicy>druid:xs835jp8197</adminPolicy>\n <objectCreator>DOR</objectCreator>\n
47
+ \ <objectId>druid:bb375wb8869</objectId>\n <objectLabel>Kitai_bb375wb8869</objectLabel>\n
48
+ \ <objectType>item</objectType>\n <otherId name=\"uuid\">15ffc446-25f5-11e1-b6f0-0016034322e7</otherId>\n
49
+ \ <tag>Project : Kitai</tag>\n </identityMetadata>\n <contentMetadata
50
+ type=\"image\" objectId=\"bb375wb8869\">\n <resource type=\"image\" sequence=\"1\"
51
+ id=\"bb375wb8869_1\">\n <label>kitai_4</label>\n <file mimetype=\"image/jp2\"
52
+ format=\"JPEG2000\" size=\"8116154\" id=\"36105005868828_05_0001.jp2\">\n
53
+ \ <imageData height=\"6007\" width=\"7175\"/>\n <attr name=\"representation\">uncropped</attr>\n
54
+ \ </file>\n </resource>\n <resource type=\"image\" sequence=\"2\"
55
+ id=\"bb375wb8869_2\">\n <label>kitai_4</label>\n <file mimetype=\"image/jp2\"
56
+ format=\"JPEG2000\" size=\"8141860\" id=\"36105005868828_05_0002.jp2\">\n
57
+ \ <imageData height=\"6017\" width=\"7174\"/>\n <attr name=\"representation\">uncropped</attr>\n
58
+ \ </file>\n </resource>\n </contentMetadata>\n <rightsMetadata>\n
59
+ \ <access type=\"discover\">\n <machine>\n <world/>\n </machine>\n
60
+ \ </access>\n <access type=\"read\">\n <machine>\n <group>stanford</group>\n
61
+ \ </machine>\n </access>\n </rightsMetadata>\n <rdf:RDF xmlns:fedora-model=\"info:fedora/fedora-system:def/model#\"
62
+ xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:fedora=\"info:fedora/fedora-system:def/relations-external#\"
63
+ xmlns:hydra=\"http://projecthydra.org/ns/relations#\">\n <rdf:Description
64
+ rdf:about=\"info:fedora/druid:bb375wb8869\">\n </rdf:Description>\n </rdf:RDF>\n
65
+ \ <oai_dc:dc xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:srw_dc=\"info:srw/schema/1/dc-schema\"
66
+ xmlns:oai_dc=\"http://www.openarchives.org/OAI/2.0/oai_dc/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
67
+ xsi:schemaLocation=\"http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd\">\n
68
+ \ <dc:title>Kita&#x12D;</dc:title>\n <dc:title>China</dc:title>\n <dc:creator>Soviet
69
+ Union Sovetskai&#x361;a Armii&#x361;a. General&#x2B9;ny&#x12D; shtab.</dc:creator>\n
70
+ \ <dc:type>map</dc:type>\n <dc:date>1968-9999</dc:date>\n <dc:publisher>General&#x2B9;ny&#x12D;
71
+ shtab</dc:publisher>\n <dc:language>rus</dc:language>\n <dc:format>maps
72
+ : col. ; 37 x 53 cm. or smaller.</dc:format>\n <dc:format>map</dc:format>\n
73
+ \ <dc:description>Military topographic maps.</dc:description>\n <dc:description>Relief
74
+ shown by contours and spot heights. Depths shown by contours and soundings
75
+ on some sheets.</dc:description>\n <dc:description>Name of jurisdiction[s]
76
+ covered by sheet quadrangle appears in upper margin at left, e.g.: Provint&#x361;sii&#x361;a
77
+ Guandun -- Avtonomny&#x12D; ra&#x12D;on Vnutrenni&#x361;ai&#x361;a Mongolii&#x361;a,
78
+ Provint&#x361;sii Kh&#x117;b&#x117;&#x12D;, Shan&#x2B9;si. May include name
79
+ and province of neighboring country.</dc:description>\n <dc:description>Common
80
+ title precedes jurisdiction name at upper left on each sheet.</dc:description>\n
81
+ \ <dc:description>Sheets individually subtitled and numbered (with roman-alphabet
82
+ lettering) in upper margin, e.g.: Ch&#x117;nma&#x12D;, E-49-III -- Sich&#x117;n,
83
+ K-50-XXXI.</dc:description>\n <dc:description>Ed./publication date in upper
84
+ border at right, e.g.: Izdanie 1970 g. -- Izdanie 1986 g. -- Izdanie 1991
85
+ g.</dc:description>\n <dc:description>Former security classification in
86
+ upper margin at right: Sekretno.</dc:description>\n <dc:description>Includes
87
+ notes, diagrams, compilation date[s], and sheet compiler's/editor's names
88
+ in lower margin.</dc:description>\n <dc:description>Blue sheet no. in upper
89
+ margin precedes black sheet no., e.g.: 05-49-01 -- 11-50-31.</dc:description>\n
90
+ \ <dc:description>Text and ancillary map, \"Skhema gruntov,\" on verso.</dc:description>\n
91
+ \ <dc:description>In Russian.</dc:description>\n <dc:subject/>\n <dc:coverage>Scale
92
+ 1:200,000. 1 cm. to 2 km.</dc:coverage>\n <dc:coverage>116.0,27.333333
93
+ \n117.0,27.333333 \n117.0,26.666667 \n116.0,26.666667 \n116.0,27.333333\n</dc:coverage>\n
94
+ \ <dc:coverage>Pulkovo 1942</dc:coverage>\n <dc:subject>Military maps</dc:subject>\n
95
+ \ <dc:subject/>\n <dc:coverage>China</dc:coverage>\n </oai_dc:dc>\n</publicObject>\n"
96
+ http_version:
97
+ recorded_at: Mon, 28 Jul 2014 22:25:54 GMT
98
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,214 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://dor-oaiprovider-test.stanford.edu/oai?metadataPrefix=mods&set=is_governed_by_hy787xj5878&verb=ListRecords
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Mon, 28 Jul 2014 22:06:30 GMT
23
+ Server:
24
+ - Apache/2.2.15 (Red Hat)
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ X-Powered-By:
28
+ - Phusion Passenger 4.0.10
29
+ Content-Length:
30
+ - '10343'
31
+ Status:
32
+ - 200 OK
33
+ Content-Type:
34
+ - application/xml;charset=utf-8
35
+ body:
36
+ encoding: UTF-8
37
+ string: |-
38
+ <?xml version="1.0" encoding="UTF-8" ?>
39
+ <?xml-stylesheet type="text/xsl" href="https://dor-oaiprovider-test.stanford.edu/oai2.xsl" ?><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"><responseDate>2014-07-28T22:06:30Z</responseDate><request metadataPrefix="mods" set="is_governed_by_hy787xj5878" verb="ListRecords">https://dor-oaiprovider-test.stanford.edu/oai</request><ListRecords><record><header><identifier>oai:searchworks.stanford.edu/druid:jt959wc5586</identifier><datestamp>2012-02-27T23:11:50Z</datestamp><setSpec>is_member_of_jh957jy1101</setSpec><setSpec>is_member_of_collection_jh957jy1101</setSpec><setSpec>is_governed_by_hy787xj5878</setSpec></header><metadata><mods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/mods/v3" version="3.3" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd">
40
+ <titleInfo>
41
+ <title>Archives parlementaires de 1787 &#xE0; 1860</title>
42
+ <subTitle>recueil complet des d&#xE9;bats l&#xE9;gislatifs &amp; politiques des chambres fran&#xE7;aises imprim&#xE9; par ordre du S&#xE9;nat et de la Chambre des d&#xE9;put&#xE9;s sous la direction de m. J. Mavidal ... et de m. E. Laurent</subTitle>
43
+ </titleInfo>
44
+ <name type="personal">
45
+ <namePart>Mavidal, J&#xE9;r&#xF4;me</namePart>
46
+ <namePart type="date">1825-1896</namePart>
47
+ </name>
48
+ <name type="personal">
49
+ <namePart>Colombey, Emile</namePart>
50
+ <namePart type="date">1819-1897</namePart>
51
+ </name>
52
+ <name type="personal">
53
+ <namePart>Claveau, Louis.</namePart>
54
+ </name>
55
+ <name type="personal">
56
+ <namePart>Pionnier, Constant.</namePart>
57
+ </name>
58
+ <name type="personal">
59
+ <namePart>Lataste, Louis Lodo&#xEF;s</namePart>
60
+ <namePart type="date">b. 1842</namePart>
61
+ </name>
62
+ <name type="personal">
63
+ <namePart>Reinhard, Marcel R.</namePart>
64
+ <namePart type="date">1899-</namePart>
65
+ </name>
66
+ <name type="personal">
67
+ <namePart>Bouloiseau, Marc.</namePart>
68
+ </name>
69
+ <name type="personal">
70
+ <namePart>Lefebvre, Georges</namePart>
71
+ <namePart type="date">1874-1959</namePart>
72
+ </name>
73
+ <name type="corporate">
74
+ <namePart>France</namePart>
75
+ </name>
76
+ <name type="corporate">
77
+ <namePart>Institut d'histoire de la R&#xE9;volution fran&#xE7;aise</namePart>
78
+ </name>
79
+ <name type="corporate">
80
+ <namePart>Centre national de la recherche scientifique (France)</namePart>
81
+ </name>
82
+ <typeOfResource>text</typeOfResource>
83
+ <originInfo>
84
+ <place>
85
+ <placeTerm type="code" authority="marccountry">fr</placeTerm>
86
+ </place>
87
+ <place>
88
+ <placeTerm type="text">Paris</placeTerm>
89
+ </place>
90
+ <publisher>Librairie administrative de P. Dupont</publisher>
91
+ <dateIssued>1862-19</dateIssued>
92
+ <dateIssued encoding="marc" point="start" keyDate="yes">1862</dateIssued>
93
+ <dateIssued encoding="marc" point="end">9999</dateIssued>
94
+ <issuance>monographic</issuance>
95
+ </originInfo>
96
+ <language>
97
+ <languageTerm authority="iso639-2b" type="code">fre</languageTerm>
98
+ </language>
99
+ <physicalDescription>
100
+ <form authority="marcform">print</form>
101
+ <extent>v. : tables (part fold.) 28 cm.</extent>
102
+ </physicalDescription>
103
+ <tableOfContents>1. s&#xE9;r. (1787 &#xE0; 1799) t. 1- 1875-19 .--2. s&#xE9;r. (1880-1860) t. 1-127, 1862-1913.</tableOfContents>
104
+ <note>Title varies slightly.</note>
105
+ <note>1. s&#xE9;r., v. 1-6: 2. &#xE9;d., 1879.</note>
106
+ <note>1. s&#xE9;r., v. 48-49 edited by E. Laurent, Louis Claveau and Constant Pionnier; 1. s&#xE9;r., v. 50-82, 2. s&#xE9;r., v. 95-127 by L. Lataste, Louis Claveau, Constant Pionnier [etc.]; 2. s&#xE9;r., v. 93-94, by E. Laurent, L. Lataste and Constant Pionnier; 1. s&#xE9;r., v. 82-86 by M. Reinhard and M. Bouloiseau, v. 83-86 by M. Reinhard, G. Lefebvre and M. Bouloiseau.</note>
107
+ <note>Vols. 82 bis- continued by Institut d'histoire de la R&#xE9;volution fran&#xE7;aise and published by the Centre national de la recherche scientifique, Paris.</note>
108
+ <note>Indexes: 1. s&#xE9;r. Vols. 8-32, May 5, 1789-Sept. 30, 1791, issued as v. 33. Vols. 34-50, Oct. 1, 1791-Sept. 21, 1792, issued as v. 51. Vols. 52-70, Sept. 20, 1792-Aug. 10, 1793, issued as v. 71. 1 v. in 2. Vols. 71-82, Aug. 11, 1793-Jan. 4, 1794, issued as v. 82bis. 2. s&#xE9;r. Vols. 15-61, July 8, 1815-Aug. 2, 1830, issued as v. 62.</note>
109
+ <subject authority="lcsh">
110
+ <geographic>France</geographic>
111
+ <topic>Politics and government</topic>
112
+ <temporal>1789-1900</temporal>
113
+ </subject>
114
+ <classification authority="lcc">J341 .H2</classification>
115
+ <identifier type="lccn">45045210</identifier>
116
+ <recordInfo>
117
+ <recordContentSource authority="marcorg">DLC</recordContentSource>
118
+ <recordCreationDate encoding="marc">840601</recordCreationDate>
119
+ <recordIdentifier>a1071767</recordIdentifier>
120
+ </recordInfo>
121
+ </mods>
122
+ </metadata><about></about></record><record><header><identifier>oai:searchworks.stanford.edu/druid:pd817cv1860</identifier><datestamp>2012-03-28T21:25:56Z</datestamp><setSpec>is_member_of_jh957jy1101</setSpec><setSpec>is_member_of_collection_jh957jy1101</setSpec><setSpec>is_governed_by_hy787xj5878</setSpec></header><metadata><mods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/mods/v3" version="3.3" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd">
123
+ <titleInfo>
124
+ <title>Archives parlementaires de 1787 &#xE0; 1860</title>
125
+ <subTitle>recueil complet des d&#xE9;bats l&#xE9;gislatifs &amp; politiques des chambres fran&#xE7;aises imprim&#xE9; par ordre du S&#xE9;nat et de la Chambre des d&#xE9;put&#xE9;s sous la direction de m. J. Mavidal ... et de m. E. Laurent</subTitle>
126
+ </titleInfo>
127
+ <name type="personal">
128
+ <namePart>Mavidal, J&#xE9;r&#xF4;me</namePart>
129
+ <namePart type="date">1825-1896</namePart>
130
+ </name>
131
+ <name type="personal">
132
+ <namePart>Colombey, Emile</namePart>
133
+ <namePart type="date">1819-1897</namePart>
134
+ </name>
135
+ <name type="personal">
136
+ <namePart>Claveau, Louis.</namePart>
137
+ </name>
138
+ <name type="personal">
139
+ <namePart>Pionnier, Constant.</namePart>
140
+ </name>
141
+ <name type="personal">
142
+ <namePart>Lataste, Louis Lodo&#xEF;s</namePart>
143
+ <namePart type="date">b. 1842</namePart>
144
+ </name>
145
+ <name type="personal">
146
+ <namePart>Reinhard, Marcel R.</namePart>
147
+ <namePart type="date">1899-</namePart>
148
+ </name>
149
+ <name type="personal">
150
+ <namePart>Bouloiseau, Marc.</namePart>
151
+ </name>
152
+ <name type="personal">
153
+ <namePart>Lefebvre, Georges</namePart>
154
+ <namePart type="date">1874-1959</namePart>
155
+ </name>
156
+ <name type="corporate">
157
+ <namePart>France</namePart>
158
+ </name>
159
+ <name type="corporate">
160
+ <namePart>Institut d'histoire de la R&#xE9;volution fran&#xE7;aise</namePart>
161
+ </name>
162
+ <name type="corporate">
163
+ <namePart>Centre national de la recherche scientifique (France)</namePart>
164
+ </name>
165
+ <typeOfResource>text</typeOfResource>
166
+ <originInfo>
167
+ <place>
168
+ <placeTerm type="code" authority="marccountry">fr</placeTerm>
169
+ </place>
170
+ <place>
171
+ <placeTerm type="text">Paris</placeTerm>
172
+ </place>
173
+ <publisher>Librairie administrative de P. Dupont</publisher>
174
+ <dateIssued>1862-19</dateIssued>
175
+ <dateIssued encoding="marc" point="start" keyDate="yes">1862</dateIssued>
176
+ <dateIssued encoding="marc" point="end">9999</dateIssued>
177
+ <issuance>monographic</issuance>
178
+ </originInfo>
179
+ <language>
180
+ <languageTerm authority="iso639-2b" type="code">fre</languageTerm>
181
+ </language>
182
+ <physicalDescription>
183
+ <form authority="marcform">print</form>
184
+ <extent>v. : tables (part fold.) 28 cm.</extent>
185
+ </physicalDescription>
186
+ <tableOfContents>1. s&#xE9;r. (1787 &#xE0; 1799) t. 1- 1875-19 .--2. s&#xE9;r. (1880-1860) t. 1-127, 1862-1913.</tableOfContents>
187
+ <note>Title varies slightly.</note>
188
+ <note>1. s&#xE9;r., v. 1-6: 2. &#xE9;d., 1879.</note>
189
+ <note>1. s&#xE9;r., v. 48-49 edited by E. Laurent, Louis Claveau and Constant Pionnier; 1. s&#xE9;r., v. 50-82, 2. s&#xE9;r., v. 95-127 by L. Lataste, Louis Claveau, Constant Pionnier [etc.]; 2. s&#xE9;r., v. 93-94, by E. Laurent, L. Lataste and Constant Pionnier; 1. s&#xE9;r., v. 82-86 by M. Reinhard and M. Bouloiseau, v. 83-86 by M. Reinhard, G. Lefebvre and M. Bouloiseau.</note>
190
+ <note>Vols. 82 bis- continued by Institut d'histoire de la R&#xE9;volution fran&#xE7;aise and published by the Centre national de la recherche scientifique, Paris.</note>
191
+ <note>Indexes: 1. s&#xE9;r. Vols. 8-32, May 5, 1789-Sept. 30, 1791, issued as v. 33. Vols. 34-50, Oct. 1, 1791-Sept. 21, 1792, issued as v. 51. Vols. 52-70, Sept. 20, 1792-Aug. 10, 1793, issued as v. 71. 1 v. in 2. Vols. 71-82, Aug. 11, 1793-Jan. 4, 1794, issued as v. 82bis. 2. s&#xE9;r. Vols. 15-61, July 8, 1815-Aug. 2, 1830, issued as v. 62.</note>
192
+ <subject authority="lcsh">
193
+ <geographic>France</geographic>
194
+ <topic>Politics and government</topic>
195
+ <temporal>1789-1900</temporal>
196
+ </subject>
197
+ <classification authority="lcc">J341 .H2</classification>
198
+ <identifier type="lccn">45045210</identifier>
199
+ <recordInfo>
200
+ <recordContentSource authority="marcorg">DLC</recordContentSource>
201
+ <recordCreationDate encoding="marc">840601</recordCreationDate>
202
+ <recordIdentifier>a1071767</recordIdentifier>
203
+ </recordInfo>
204
+ </mods>
205
+ </metadata><about></about></record><record><header><identifier>oai:searchworks.stanford.edu/druid:qk487nd2690</identifier><datestamp>2013-05-22T23:38:57Z</datestamp><setSpec>is_member_of_jh957jy1101</setSpec><setSpec>is_member_of_collection_jh957jy1101</setSpec><setSpec>is_governed_by_hy787xj5878</setSpec></header><metadata>
206
+ <mods xmlns="http://www.loc.gov/mods/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="3.3" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd">
207
+ <titleInfo>
208
+ <title>test collection title</title>
209
+ </titleInfo>
210
+ <abstract>abstract</abstract></mods>
211
+ </metadata><about></about></record></ListRecords></OAI-PMH>
212
+ http_version:
213
+ recorded_at: Mon, 28 Jul 2014 22:06:34 GMT
214
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,98 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://purl-test.stanford.edu/bb375wb8869.xml
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: ''
20
+ headers:
21
+ Date:
22
+ - Mon, 28 Jul 2014 22:25:00 GMT
23
+ Server:
24
+ - Apache/2.2.15 (Red Hat)
25
+ X-Powered-By:
26
+ - Phusion Passenger (mod_rails/mod_rack) 3.0.19
27
+ X-Ua-Compatible:
28
+ - IE=Edge
29
+ Etag:
30
+ - '"c7e2680ca3a1d497d6e46962eac8bb2d"'
31
+ Cache-Control:
32
+ - max-age=0, private, must-revalidate
33
+ X-Request-Id:
34
+ - ddb0123b604221641fb5558a6539a91d
35
+ X-Runtime:
36
+ - '0.064963'
37
+ Status:
38
+ - '200'
39
+ Content-Length:
40
+ - '4349'
41
+ Content-Type:
42
+ - application/xml; charset=utf-8
43
+ body:
44
+ encoding: UTF-8
45
+ string: "<publicObject id=\"druid:bb375wb8869\" published=\"2012-01-26T16:39:44-08:00\">\n
46
+ \ <identityMetadata>\n <adminPolicy>druid:xs835jp8197</adminPolicy>\n <objectCreator>DOR</objectCreator>\n
47
+ \ <objectId>druid:bb375wb8869</objectId>\n <objectLabel>Kitai_bb375wb8869</objectLabel>\n
48
+ \ <objectType>item</objectType>\n <otherId name=\"uuid\">15ffc446-25f5-11e1-b6f0-0016034322e7</otherId>\n
49
+ \ <tag>Project : Kitai</tag>\n </identityMetadata>\n <contentMetadata
50
+ type=\"image\" objectId=\"bb375wb8869\">\n <resource type=\"image\" sequence=\"1\"
51
+ id=\"bb375wb8869_1\">\n <label>kitai_4</label>\n <file mimetype=\"image/jp2\"
52
+ format=\"JPEG2000\" size=\"8116154\" id=\"36105005868828_05_0001.jp2\">\n
53
+ \ <imageData height=\"6007\" width=\"7175\"/>\n <attr name=\"representation\">uncropped</attr>\n
54
+ \ </file>\n </resource>\n <resource type=\"image\" sequence=\"2\"
55
+ id=\"bb375wb8869_2\">\n <label>kitai_4</label>\n <file mimetype=\"image/jp2\"
56
+ format=\"JPEG2000\" size=\"8141860\" id=\"36105005868828_05_0002.jp2\">\n
57
+ \ <imageData height=\"6017\" width=\"7174\"/>\n <attr name=\"representation\">uncropped</attr>\n
58
+ \ </file>\n </resource>\n </contentMetadata>\n <rightsMetadata>\n
59
+ \ <access type=\"discover\">\n <machine>\n <world/>\n </machine>\n
60
+ \ </access>\n <access type=\"read\">\n <machine>\n <group>stanford</group>\n
61
+ \ </machine>\n </access>\n </rightsMetadata>\n <rdf:RDF xmlns:fedora-model=\"info:fedora/fedora-system:def/model#\"
62
+ xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:fedora=\"info:fedora/fedora-system:def/relations-external#\"
63
+ xmlns:hydra=\"http://projecthydra.org/ns/relations#\">\n <rdf:Description
64
+ rdf:about=\"info:fedora/druid:bb375wb8869\">\n </rdf:Description>\n </rdf:RDF>\n
65
+ \ <oai_dc:dc xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:srw_dc=\"info:srw/schema/1/dc-schema\"
66
+ xmlns:oai_dc=\"http://www.openarchives.org/OAI/2.0/oai_dc/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
67
+ xsi:schemaLocation=\"http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd\">\n
68
+ \ <dc:title>Kita&#x12D;</dc:title>\n <dc:title>China</dc:title>\n <dc:creator>Soviet
69
+ Union Sovetskai&#x361;a Armii&#x361;a. General&#x2B9;ny&#x12D; shtab.</dc:creator>\n
70
+ \ <dc:type>map</dc:type>\n <dc:date>1968-9999</dc:date>\n <dc:publisher>General&#x2B9;ny&#x12D;
71
+ shtab</dc:publisher>\n <dc:language>rus</dc:language>\n <dc:format>maps
72
+ : col. ; 37 x 53 cm. or smaller.</dc:format>\n <dc:format>map</dc:format>\n
73
+ \ <dc:description>Military topographic maps.</dc:description>\n <dc:description>Relief
74
+ shown by contours and spot heights. Depths shown by contours and soundings
75
+ on some sheets.</dc:description>\n <dc:description>Name of jurisdiction[s]
76
+ covered by sheet quadrangle appears in upper margin at left, e.g.: Provint&#x361;sii&#x361;a
77
+ Guandun -- Avtonomny&#x12D; ra&#x12D;on Vnutrenni&#x361;ai&#x361;a Mongolii&#x361;a,
78
+ Provint&#x361;sii Kh&#x117;b&#x117;&#x12D;, Shan&#x2B9;si. May include name
79
+ and province of neighboring country.</dc:description>\n <dc:description>Common
80
+ title precedes jurisdiction name at upper left on each sheet.</dc:description>\n
81
+ \ <dc:description>Sheets individually subtitled and numbered (with roman-alphabet
82
+ lettering) in upper margin, e.g.: Ch&#x117;nma&#x12D;, E-49-III -- Sich&#x117;n,
83
+ K-50-XXXI.</dc:description>\n <dc:description>Ed./publication date in upper
84
+ border at right, e.g.: Izdanie 1970 g. -- Izdanie 1986 g. -- Izdanie 1991
85
+ g.</dc:description>\n <dc:description>Former security classification in
86
+ upper margin at right: Sekretno.</dc:description>\n <dc:description>Includes
87
+ notes, diagrams, compilation date[s], and sheet compiler's/editor's names
88
+ in lower margin.</dc:description>\n <dc:description>Blue sheet no. in upper
89
+ margin precedes black sheet no., e.g.: 05-49-01 -- 11-50-31.</dc:description>\n
90
+ \ <dc:description>Text and ancillary map, \"Skhema gruntov,\" on verso.</dc:description>\n
91
+ \ <dc:description>In Russian.</dc:description>\n <dc:subject/>\n <dc:coverage>Scale
92
+ 1:200,000. 1 cm. to 2 km.</dc:coverage>\n <dc:coverage>116.0,27.333333
93
+ \n117.0,27.333333 \n117.0,26.666667 \n116.0,26.666667 \n116.0,27.333333\n</dc:coverage>\n
94
+ \ <dc:coverage>Pulkovo 1942</dc:coverage>\n <dc:subject>Military maps</dc:subject>\n
95
+ \ <dc:subject/>\n <dc:coverage>China</dc:coverage>\n </oai_dc:dc>\n</publicObject>\n"
96
+ http_version:
97
+ recorded_at: Mon, 28 Jul 2014 22:24:59 GMT
98
+ recorded_with: VCR 2.9.2
@@ -4,19 +4,19 @@ describe Harvestdor do
4
4
 
5
5
  context "#druid" do
6
6
  it "should return the druid part of an oai identifier" do
7
- Harvestdor.druid('oai:searchworks.stanford.edu/druid:foo').should == 'foo'
7
+ expect(Harvestdor.druid('oai:searchworks.stanford.edu/druid:foo')).to eql('foo')
8
8
  end
9
9
  it "should work with OAI::Header as argument" do
10
10
  header = OAI::Header.new(nil)
11
11
  header.identifier = 'oai:searchworks.stanford.edu/druid:foo'
12
- Harvestdor.druid(header).should == 'foo'
12
+ expect(Harvestdor.druid(header)).to eql('foo')
13
13
  end
14
14
  it "should work with OAI::Record as argument" do
15
15
  oai_rec = OAI::Record.new(nil)
16
16
  header = OAI::Header.new(nil)
17
17
  header.identifier = 'oai:searchworks.stanford.edu/druid:foo'
18
18
  oai_rec.header = header
19
- Harvestdor.druid(oai_rec).should == 'foo'
19
+ expect(Harvestdor.druid(oai_rec)).to eql('foo')
20
20
  end
21
21
  end
22
22