cul_scv_hydra 0.22.1 → 0.22.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/generic_resource.rb +1 -1
- data/config/fedora.yml +17 -0
- data/config/solr.yml +8 -0
- data/config/subs.yml +5 -0
- data/lib/cul_scv_hydra/version.rb +1 -1
- data/lib/cul_scv_hydra/version.rb~ +11 -0
- metadata +6 -9
- data/config/fedora.yml2 +0 -11
- data/config/locales/nnc.ntriples +0 -12
- data/config/xsl/marc_to_mods.xsl +0 -5542
- data/fixtures/spec/MARCXML/3867996.mods.xml +0 -7
- data/fixtures/spec/MARCXML/3867996.xml +0 -100
- data/lib/tasks/transform.rake +0 -23
@@ -1,7 +0,0 @@
|
|
1
|
-
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
-
<mods xmlns="http://www.loc.gov/mods/v3"
|
3
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
5
|
-
xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd"
|
6
|
-
version="3.5">
|
7
|
-
</mods>
|
@@ -1,100 +0,0 @@
|
|
1
|
-
<record xmlns='http://www.loc.gov/MARC21/slim'>
|
2
|
-
<leader>01316cam a2200361 a 4500</leader>
|
3
|
-
<controlfield tag='001'>3867996</controlfield>
|
4
|
-
<controlfield tag='005'>20100210190726.0</controlfield>
|
5
|
-
<controlfield tag='008'>000922s1898 ja a j 000 1 eng d</controlfield>
|
6
|
-
<datafield ind1=' ' ind2=' ' tag='035'>
|
7
|
-
<subfield code='a'>(OCoLC)502907050</subfield>
|
8
|
-
</datafield>
|
9
|
-
<datafield ind1=' ' ind2=' ' tag='035'>
|
10
|
-
<subfield code='a'>(OCoLC)ocn502907050</subfield>
|
11
|
-
</datafield>
|
12
|
-
<datafield ind1=' ' ind2=' ' tag='035'>
|
13
|
-
<subfield code='a'>(CStRLIN)NYCP00-B10039</subfield>
|
14
|
-
</datafield>
|
15
|
-
<datafield ind1=' ' ind2=' ' tag='035'>
|
16
|
-
<subfield code='a'>(NNC)3867996</subfield>
|
17
|
-
</datafield>
|
18
|
-
<datafield ind1=' ' ind2=' ' tag='040'>
|
19
|
-
<subfield code='a'>NNC</subfield>
|
20
|
-
<subfield code='c'>NNC</subfield>
|
21
|
-
</datafield>
|
22
|
-
<datafield ind1=' ' ind2='4' tag='050'>
|
23
|
-
<subfield code='a'>GR340</subfield>
|
24
|
-
<subfield code='b'>.B69 1898</subfield>
|
25
|
-
</datafield>
|
26
|
-
<datafield ind1=' ' ind2=' ' tag='066'>
|
27
|
-
<subfield code='c'>$1</subfield>
|
28
|
-
</datafield>
|
29
|
-
<datafield ind1=' ' ind2=' ' tag='079'>
|
30
|
-
<subfield code='a'>ocm03317411</subfield>
|
31
|
-
</datafield>
|
32
|
-
<datafield ind1=' ' ind2=' ' tag='090'>
|
33
|
-
<subfield code='a'>SPECIAL COLL. GR340</subfield>
|
34
|
-
<subfield code='b'>.B69 1898</subfield>
|
35
|
-
<subfield code='i'>09/25/00 X</subfield>
|
36
|
-
<subfield code='h'>09/22/00 N</subfield>
|
37
|
-
</datafield>
|
38
|
-
<datafield ind1='0' ind2='4' tag='245'>
|
39
|
-
<subfield code='a'>The Boy who drew cats /</subfield>
|
40
|
-
<subfield code='c'>rendered into English by Lafcadio Hearn.</subfield>
|
41
|
-
</datafield>
|
42
|
-
<datafield ind1=' ' ind2=' ' tag='260'>
|
43
|
-
<subfield code='6'>880-01</subfield>
|
44
|
-
<subfield code='a'>Tōkyō :</subfield>
|
45
|
-
<subfield code='b'>Hasegawa Takejirō,</subfield>
|
46
|
-
<subfield code='c'>Meiji 31 [1898]</subfield>
|
47
|
-
</datafield>
|
48
|
-
<datafield ind1=' ' ind2=' ' tag='300'>
|
49
|
-
<subfield code='a'>[10] leaves :</subfield>
|
50
|
-
<subfield code='b'>col. ill. ;</subfield>
|
51
|
-
<subfield code='c'>18 cm.</subfield>
|
52
|
-
</datafield>
|
53
|
-
<datafield ind1='1' ind2=' ' tag='490'>
|
54
|
-
<subfield code='a'>Japanese fairy tale series ;</subfield>
|
55
|
-
<subfield code='v'>no. 18</subfield>
|
56
|
-
</datafield>
|
57
|
-
<datafield ind1=' ' ind2=' ' tag='500'>
|
58
|
-
<subfield code='a'>Cover title.</subfield>
|
59
|
-
</datafield>
|
60
|
-
<datafield ind1=' ' ind2=' ' tag='500'>
|
61
|
-
<subfield code='a'>Printed on double leaves of crepe paper, folded in the Japanese style.</subfield>
|
62
|
-
</datafield>
|
63
|
-
<datafield ind1=' ' ind2=' ' tag='590'>
|
64
|
-
<subfield code='a'>Housed in Special Collection.</subfield>
|
65
|
-
</datafield>
|
66
|
-
<datafield ind1='1' ind2=' ' tag='700'>
|
67
|
-
<subfield code='a'>Hearn, Lafcadio,</subfield>
|
68
|
-
<subfield code='d'>1850-1904.</subfield>
|
69
|
-
</datafield>
|
70
|
-
<datafield ind1='2' ind2=' ' tag='797'>
|
71
|
-
<subfield code='a'>JASP</subfield>
|
72
|
-
</datafield>
|
73
|
-
<datafield ind1=' ' ind2='0' tag='830'>
|
74
|
-
<subfield code='a'>Japanese fairy tale series ;</subfield>
|
75
|
-
<subfield code='v'>no. 18.</subfield>
|
76
|
-
</datafield>
|
77
|
-
<datafield ind1=' ' ind2=' ' tag='880'>
|
78
|
-
<subfield code='6'>260-01/$1</subfield>
|
79
|
-
<subfield code='a'>東京 :</subfield>
|
80
|
-
<subfield code='b'>長谷川 武次郎,</subfield>
|
81
|
-
<subfield code='c'>明治 31 [1898]</subfield>
|
82
|
-
</datafield>
|
83
|
-
<datafield ind1=' ' ind2=' ' tag='900'>
|
84
|
-
<subfield code='a'>AUTH</subfield>
|
85
|
-
</datafield>
|
86
|
-
<datafield ind1=' ' ind2=' ' tag='990'>
|
87
|
-
<subfield code='a'>GR</subfield>
|
88
|
-
</datafield>
|
89
|
-
<datafield ind1=' ' ind2=' ' tag='991'>
|
90
|
-
<subfield code='a'>GR340.B69 1898</subfield>
|
91
|
-
<subfield code='b'>loc+GR-+0340+00000000+B6900000+001898</subfield>
|
92
|
-
</datafield>
|
93
|
-
<datafield ind1=' ' ind2=' ' tag='992'>
|
94
|
-
<subfield code='a'>East Asian</subfield>
|
95
|
-
<subfield code='b'>East Asian Special Collection (Non-Circulating) >> SPECIAL COLL. GR340.B69 1898|DELIM|4397398</subfield>
|
96
|
-
</datafield>
|
97
|
-
<datafield ind1=' ' ind2=' ' tag='995'>
|
98
|
-
<subfield code='a'>catalog</subfield>
|
99
|
-
</datafield>
|
100
|
-
</record>
|
data/lib/tasks/transform.rake
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
namespace :cul_scv_hydra do
|
2
|
-
|
3
|
-
namespace :transform do
|
4
|
-
|
5
|
-
task :marc => :environment do
|
6
|
-
|
7
|
-
begin
|
8
|
-
src_path = File.join(Rails.root,'fixtures','spec','MARCXML','3867996.xml')
|
9
|
-
xsl_path = File.join(Rails.root,'config','xsl','marc_to_mods.xsl')
|
10
|
-
doc = Nokogiri::XML(File.read(src_path))
|
11
|
-
xslt = Nokogiri::XSLT(File.read(xsl_path))
|
12
|
-
puts xslt.transform(doc)
|
13
|
-
rescue => e
|
14
|
-
puts 'Error: ' + e.message
|
15
|
-
puts e.backtrace
|
16
|
-
next
|
17
|
-
end
|
18
|
-
|
19
|
-
end
|
20
|
-
|
21
|
-
end
|
22
|
-
|
23
|
-
end
|