zcc 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +15 -0
- data/Manifest.txt +12 -19
- data/Rakefile +2 -1
- data/bin/zcc +228 -202
- data/examples/zcc.yaml +21 -12
- data/examples/zebra/{register/empty → key/remove_me} +1 -1
- data/examples/zebra/{key/empty → lock/remove_me} +1 -1
- data/examples/zebra/records/0.mrc +1 -0
- data/examples/zebra/{lock/empty → register/remove_me} +1 -1
- data/examples/zebra/tab/marc21.abs +67 -0
- data/examples/zebra/tab/record.abs +1 -0
- data/examples/zebra/zebra.cfg +2 -2
- data/examples/zservers.yaml +869 -0
- data/lib/zcc.rb +8 -0
- data/lib/zcc/ansicolorz.rb +26 -0
- data/lib/zcc/cli_display.rb +461 -0
- data/lib/zcc/query.rb +183 -0
- data/lib/zcc/record.rb +265 -0
- data/lib/zcc/resultset.rb +169 -0
- data/lib/zcc/version.rb +2 -2
- data/lib/zcc/zoomer.rb +16 -2
- data/lib/zcc/zserver.rb +38 -0
- data/website/index.html +1 -1
- data/website/koha.html +18 -10
- data/website/koha.txt +13 -8
- data/website/zcc.html +35 -33
- data/website/zcc.txt +30 -32
- data/website/zebra.html +57 -15
- data/website/zebra.txt +56 -15
- metadata +23 -21
- data/examples/zebra/README +0 -2
- data/examples/zebra/records/examples/0.xml +0 -1
- data/examples/zebra/records/examples/1.xml +0 -1
- data/examples/zebra/records/examples/2.xml +0 -1
- data/examples/zebra/records/examples/3.xml +0 -1
- data/examples/zebra/records/examples/4.xml +0 -1
- data/examples/zebra/records/examples/5.xml +0 -1
- data/examples/zebra/records/examples/6.xml +0 -1
- data/examples/zebra/records/examples/7.xml +0 -1
- data/examples/zebra/records/examples/8.xml +0 -1
- data/examples/zebra/records/examples/9.xml +0 -1
- data/examples/zebra/shadow/empty +0 -1
- data/examples/zebra/tab/kohalis +0 -1
- data/examples/zebra/tmp/empty +0 -1
- data/lib/zcc/marcadditions.rb +0 -221
- data/lib/zcc/pickers.rb +0 -176
data/website/zebra.html
CHANGED
@@ -33,44 +33,86 @@
|
|
33
33
|
<h1>Very simple setup of local zebra server</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/zcc"; return false'>
|
35
35
|
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/zcc" class="numbers">0.0
|
36
|
+
<a href="http://rubyforge.org/projects/zcc" class="numbers">0.1.0</a>
|
37
37
|
</div>
|
38
38
|
<p>These instructions are probably incomplete for this release. Please let me know if you find errors.</p>
|
39
39
|
|
40
40
|
|
41
|
-
<p>
|
41
|
+
<p>Install all the dependencies to zcc and confirm that it is working.</p>
|
42
42
|
|
43
43
|
|
44
|
-
<p>
|
44
|
+
<p>Install <a href="http://www.indexdata.dk/zebra/">zebra</a> If using Debian or RedHat it is suggested that you add the indexdata repositories.</p>
|
45
45
|
|
46
46
|
|
47
|
+
You may have already moved the zebra directory into your .zcc directory. If not do the following:
|
47
48
|
<pre syntax="ruby">
|
48
49
|
$ cd ~/.zcc
|
49
|
-
$ cp -r /var/lib/gems/1.8/gems/zcc-0.0.
|
50
|
+
$ cp -r /var/lib/gems/1.8/gems/zcc-0.0.4/examples/zebra .
|
51
|
+
</pre>
|
52
|
+
Now change into the zebra directory:
|
53
|
+
<pre syntax="ruby>
|
50
54
|
$ cd zebra
|
51
|
-
$ zebraidx update ~/.zcc/zebra/records
|
52
|
-
$ zebrasrv &
|
53
|
-
$ yaz-client localhost:9999/zcc
|
54
|
-
Z> f @attr 1=4 theology
|
55
|
-
Z> show 1
|
56
55
|
</pre>
|
57
|
-
<p>
|
56
|
+
<p>Now edit the zebra.cfg file. You must replace ‘jason’ with your username in all places.</p>
|
57
|
+
|
58
|
+
|
59
|
+
<pre>
|
60
|
+
$ zebraidx update records
|
61
|
+
</pre>
|
62
|
+
<p>If the initial record update goes off without warnings or errors try this to start up the server in daemon mode (silent mode that runs in the background).</p>
|
63
|
+
|
64
|
+
|
65
|
+
<pre syntax="ruby">
|
66
|
+
$ zebrasrv -D
|
67
|
+
</pre>
|
68
|
+
<p>You may see loaded filter module messages and then be returned to a prompt. Now you can try it out:</p>
|
58
69
|
|
59
70
|
|
71
|
+
<pre syntax="ruby">
|
72
|
+
$ yaz-client localhost:9999/zcc
|
73
|
+
Z> f @attr 1=4 bicycle
|
74
|
+
Z> show 1
|
75
|
+
Sent presentRequest (1+1).
|
76
|
+
Records: 1
|
77
|
+
[zcc]Record type: USmarc
|
78
|
+
00907pam a2200241 a 4500
|
79
|
+
001 3487522
|
80
|
+
005 19950117081431.7
|
81
|
+
008 940606s1994 cauab b 001 0 eng
|
82
|
+
035 $9 (DLC) 94026226
|
83
|
+
906 $a 7 $b cbc $c orignew $d 1 $e ocip $f 19 $g y-gencatlg
|
84
|
+
955 $a pc05 RUSH to sa00 06-06-94; sj06 06-07-94; sj09 06-07-94; sj04 06-08-94; CIP ver. ta06; to SL 01-17-95
|
85
|
+
010 $a 94026226
|
86
|
+
020 $a 0899971741 (pbk.)
|
87
|
+
040 $a DLC $c DLC $d DLC
|
88
|
+
050 00 $a GV1044 $b .B88 1994
|
89
|
+
100 1 $a Butterman, Steve.
|
90
|
+
245 10 $a Bicycle touring : $b how to prepare for long rides / $c Steve Butterman.
|
91
|
+
260 $a Berkeley, CA : $b Wilderness Press, $c c1994.
|
92
|
+
300 $a viii, 88 p. : $b ill., map ; $c 22 cm.
|
93
|
+
504 $a Includes bibliographical references (p. 78) and index.
|
94
|
+
650 0 $a Bicycle touring.
|
95
|
+
650 0 $a Bicycle touring $x Equipment and supplies.
|
96
|
+
991 $b c-GenColl $h GV1044 $i .B88 1994 $t Copy 1 $w BOOKS
|
97
|
+
</pre>
|
60
98
|
<p>If you see a record displayed then it works! Congratulations.</p>
|
61
99
|
|
62
100
|
|
63
|
-
|
64
|
-
<pre>- [localhost, 9999, zcc]</pre>
|
65
|
-
|
101
|
+
Now you can configure your local zserver in the zcc.yaml file in ~/.zcc. Add (or uncomment) this line if necessary:
|
102
|
+
<pre>- [localhost, 9999, zcc, 0]</pre>
|
103
|
+
My suggestion is to put this server in group 0 (zero) of your zservers to check in see whether you already have an appropriate record.
|
104
|
+
<p>When you want to add records to the zebra database manually you will need to return to your ~/.zcc/zebra directory and reindex the whole bunk of records. Just drop a <span class="caps">UTF</span>-8 encoded <span class="caps">MARC21</span> record (IS02709) anywhere in the directory below ~/.zcc/zebra/records and it will be indexed after running this:</p>
|
66
105
|
|
67
106
|
|
68
107
|
<pre syntax="ruby">$ cd ~/.zcc/zebra
|
69
|
-
$ zebraidx update
|
108
|
+
$ zebraidx update records</pre>
|
109
|
+
<p>To make this the default place to save records choose ‘zebra’ under save_record_syntax in zcc.yaml. This reindexing could take some time, especially if you have a large number of files, though zebra does index quickly. Right now the database is reindexed after each insertion of a record. Not optimal and I’m looking at other ways to do this (only reindex on quit?) We would like to add extended services for record insert and update to <a href="http://ruby-zoom.rubyforge.org/">ruby-zoom</a> Currently the C-binding is incomplete. Please let me know if you’re a developer willing to do the work (<a href="mailto:jronallo+zoom@gmail.com">jronallo+zoom@gmail.com</a>).</p>
|
110
|
+
|
111
|
+
|
70
112
|
<p>If you shutdown your computer make sure to restart the zebrasrv!</p>
|
71
113
|
|
72
114
|
|
73
|
-
<p>If port 9999, the default zebrasrv port is exposed to the world, others
|
115
|
+
<p>If port 9999, the default zebrasrv port, is exposed to the world, others may be able to search your database as well. You may find this a good thing :) or it may be a security risk? You can specify a different port on the command line. See the <a href="http://www.indexdata.dk/zebra/doc/">zebra docs</a> for more information on changing the port and other configuration options for zebra. What you have been presented with here is just the simplest quickest way of getting I’ve found for getting zebra for zcc up and running on my Debian systems.</p>
|
74
116
|
|
75
117
|
</div>
|
76
118
|
|
data/website/zebra.txt
CHANGED
@@ -2,35 +2,76 @@ h1. Very simple setup of local zebra server
|
|
2
2
|
|
3
3
|
These instructions are probably incomplete for this release. Please let me know if you find errors.
|
4
4
|
|
5
|
-
|
5
|
+
Install all the dependencies to zcc and confirm that it is working.
|
6
6
|
|
7
|
-
|
7
|
+
Install "zebra":http://www.indexdata.dk/zebra/ If using Debian or RedHat it is suggested that you add the indexdata repositories.
|
8
8
|
|
9
|
+
You may have already moved the zebra directory into your .zcc directory. If not do the following:
|
9
10
|
<pre syntax="ruby">
|
10
11
|
$ cd ~/.zcc
|
11
|
-
$ cp -r /var/lib/gems/1.8/gems/zcc-0.0.
|
12
|
+
$ cp -r /var/lib/gems/1.8/gems/zcc-0.0.4/examples/zebra .
|
13
|
+
</pre>
|
14
|
+
|
15
|
+
Now change into the zebra directory:
|
16
|
+
<pre syntax="ruby>
|
12
17
|
$ cd zebra
|
13
|
-
|
14
|
-
|
18
|
+
</pre>
|
19
|
+
|
20
|
+
Now edit the zebra.cfg file. You must replace 'jason' with your username in all places.
|
21
|
+
|
22
|
+
<pre>
|
23
|
+
$ zebraidx update records
|
24
|
+
</pre>
|
25
|
+
|
26
|
+
If the initial record update goes off without warnings or errors try this to start up the server in daemon mode (silent mode that runs in the background).
|
27
|
+
|
28
|
+
<pre syntax="ruby">
|
29
|
+
$ zebrasrv -D
|
30
|
+
</pre>
|
31
|
+
|
32
|
+
You may see loaded filter module messages and then be returned to a prompt. Now you can try it out:
|
33
|
+
|
34
|
+
<pre syntax="ruby">
|
15
35
|
$ yaz-client localhost:9999/zcc
|
16
|
-
Z> f @attr 1=4
|
36
|
+
Z> f @attr 1=4 bicycle
|
17
37
|
Z> show 1
|
38
|
+
Sent presentRequest (1+1).
|
39
|
+
Records: 1
|
40
|
+
[zcc]Record type: USmarc
|
41
|
+
00907pam a2200241 a 4500
|
42
|
+
001 3487522
|
43
|
+
005 19950117081431.7
|
44
|
+
008 940606s1994 cauab b 001 0 eng
|
45
|
+
035 $9 (DLC) 94026226
|
46
|
+
906 $a 7 $b cbc $c orignew $d 1 $e ocip $f 19 $g y-gencatlg
|
47
|
+
955 $a pc05 RUSH to sa00 06-06-94; sj06 06-07-94; sj09 06-07-94; sj04 06-08-94; CIP ver. ta06; to SL 01-17-95
|
48
|
+
010 $a 94026226
|
49
|
+
020 $a 0899971741 (pbk.)
|
50
|
+
040 $a DLC $c DLC $d DLC
|
51
|
+
050 00 $a GV1044 $b .B88 1994
|
52
|
+
100 1 $a Butterman, Steve.
|
53
|
+
245 10 $a Bicycle touring : $b how to prepare for long rides / $c Steve Butterman.
|
54
|
+
260 $a Berkeley, CA : $b Wilderness Press, $c c1994.
|
55
|
+
300 $a viii, 88 p. : $b ill., map ; $c 22 cm.
|
56
|
+
504 $a Includes bibliographical references (p. 78) and index.
|
57
|
+
650 0 $a Bicycle touring.
|
58
|
+
650 0 $a Bicycle touring $x Equipment and supplies.
|
59
|
+
991 $b c-GenColl $h GV1044 $i .B88 1994 $t Copy 1 $w BOOKS
|
18
60
|
</pre>
|
19
61
|
|
20
|
-
You may want to open up a different terminal as zebrasrv (the server) will output messages to the terminal when you search it.
|
21
|
-
|
22
62
|
If you see a record displayed then it works! Congratulations.
|
23
63
|
|
24
|
-
|
25
|
-
<pre>- [localhost, 9999, zcc]</pre>
|
64
|
+
Now you can configure your local zserver in the zcc.yaml file in ~/.zcc. Add (or uncomment) this line if necessary:
|
65
|
+
<pre>- [localhost, 9999, zcc, 0]</pre>
|
66
|
+
My suggestion is to put this server in group 0 (zero) of your zservers to check in see whether you already have an appropriate record.
|
26
67
|
|
27
|
-
When you want to add records to the zebra database you will need to return to your ~/.zcc/zebra directory and reindex the whole bunk of records. Just drop
|
68
|
+
When you want to add records to the zebra database manually you will need to return to your ~/.zcc/zebra directory and reindex the whole bunk of records. Just drop a UTF-8 encoded MARC21 record (IS02709) anywhere in the directory below ~/.zcc/zebra/records and it will be indexed after running this:
|
28
69
|
|
29
70
|
<pre syntax="ruby">$ cd ~/.zcc/zebra
|
30
|
-
$ zebraidx update
|
31
|
-
|
32
|
-
If you shutdown your computer make sure to restart the zebrasrv!
|
71
|
+
$ zebraidx update records</pre>
|
33
72
|
|
34
|
-
|
73
|
+
To make this the default place to save records choose 'zebra' under save_record_syntax in zcc.yaml. This reindexing could take some time, especially if you have a large number of files, though zebra does index quickly. Right now the database is reindexed after each insertion of a record. Not optimal and I'm looking at other ways to do this (only reindex on quit?) We would like to add extended services for record insert and update to "ruby-zoom":http://ruby-zoom.rubyforge.org/ Currently the C-binding is incomplete. Please let me know if you're a developer willing to do the work (jronallo+zoom@gmail.com).
|
35
74
|
|
75
|
+
If you shutdown your computer make sure to restart the zebrasrv!
|
36
76
|
|
77
|
+
If port 9999, the default zebrasrv port, is exposed to the world, others may be able to search your database as well. You may find this a good thing :) or it may be a security risk? You can specify a different port on the command line. See the "zebra docs":http://www.indexdata.dk/zebra/doc/ for more information on changing the port and other configuration options for zebra. What you have been presented with here is just the simplest quickest way of getting I've found for getting zebra for zcc up and running on my Debian systems.
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: zcc
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0
|
7
|
-
date: 2007-07-
|
6
|
+
version: 0.1.0
|
7
|
+
date: 2007-07-24 00:00:00 -04:00
|
8
8
|
summary: zcc is a command line script for copy cataloging MARC records
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -37,21 +37,10 @@ files:
|
|
37
37
|
- bin/zcc
|
38
38
|
- examples/linter.pl
|
39
39
|
- examples/zcc.yaml
|
40
|
-
- examples/zebra/key/
|
41
|
-
- examples/zebra/lock/
|
42
|
-
- examples/zebra/
|
43
|
-
- examples/zebra/register/
|
44
|
-
- examples/zebra/records/examples/0.xml
|
45
|
-
- examples/zebra/records/examples/1.xml
|
46
|
-
- examples/zebra/records/examples/2.xml
|
47
|
-
- examples/zebra/records/examples/3.xml
|
48
|
-
- examples/zebra/records/examples/4.xml
|
49
|
-
- examples/zebra/records/examples/5.xml
|
50
|
-
- examples/zebra/records/examples/6.xml
|
51
|
-
- examples/zebra/records/examples/7.xml
|
52
|
-
- examples/zebra/records/examples/8.xml
|
53
|
-
- examples/zebra/records/examples/9.xml
|
54
|
-
- examples/zebra/shadow/empty
|
40
|
+
- examples/zebra/key/remove_me
|
41
|
+
- examples/zebra/lock/remove_me
|
42
|
+
- examples/zebra/records/0.mrc
|
43
|
+
- examples/zebra/register/remove_me
|
55
44
|
- examples/zebra/tab/bib1.abs
|
56
45
|
- examples/zebra/tab/bib1.att
|
57
46
|
- examples/zebra/tab/default.idx
|
@@ -59,22 +48,26 @@ files:
|
|
59
48
|
- examples/zebra/tab/explain.att
|
60
49
|
- examples/zebra/tab/explain.tag
|
61
50
|
- examples/zebra/tab/gils.att
|
62
|
-
- examples/zebra/tab/
|
51
|
+
- examples/zebra/tab/marc21.abs
|
63
52
|
- examples/zebra/tab/numeric.chr
|
64
53
|
- examples/zebra/tab/record.abs
|
65
54
|
- examples/zebra/tab/sort-string-utf.chr
|
66
55
|
- examples/zebra/tab/tagsetm.tag
|
67
56
|
- examples/zebra/tab/usmarc.mar
|
68
57
|
- examples/zebra/tab/word-phrase-utf.chr
|
69
|
-
- examples/zebra/tmp/empty
|
70
58
|
- examples/zebra/zebra.cfg
|
71
59
|
- examples/zoomer-iterator.txt
|
60
|
+
- examples/zservers.yaml
|
72
61
|
- lib/zcc.rb
|
73
|
-
- lib/zcc/
|
74
|
-
- lib/zcc/
|
62
|
+
- lib/zcc/ansicolorz.rb
|
63
|
+
- lib/zcc/cli_display.rb
|
64
|
+
- lib/zcc/query.rb
|
65
|
+
- lib/zcc/record.rb
|
66
|
+
- lib/zcc/resultset.rb
|
75
67
|
- lib/zcc/subfieldeditor.rb
|
76
68
|
- lib/zcc/version.rb
|
77
69
|
- lib/zcc/zoomer.rb
|
70
|
+
- lib/zcc/zserver.rb
|
78
71
|
- scripts/txt2html
|
79
72
|
- setup.rb
|
80
73
|
- test/test_helper.rb
|
@@ -148,3 +141,12 @@ dependencies:
|
|
148
141
|
- !ruby/object:Gem::Version
|
149
142
|
version: 1.2.9
|
150
143
|
version:
|
144
|
+
- !ruby/object:Gem::Dependency
|
145
|
+
name: term-ansicolor
|
146
|
+
version_requirement:
|
147
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: 1.0.2
|
152
|
+
version:
|
data/examples/zebra/README
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
<record xmlns='http://www.loc.gov/MARC21/slim'><leader>00779 Z a2200265 4500</leader><controlfield tag='001'>4191961</controlfield><controlfield tag='003'>DLC</controlfield><controlfield tag='005'>19810505000000.0</controlfield><controlfield tag='006'>a|||||r|||||000 0</controlfield><controlfield tag='007'>ta</controlfield><controlfield tag='008'>810504s1980 ctua 000 0 eng</controlfield><datafield tag='010' ind1=' ' ind2=' '><subfield code='a'> 80081103</subfield></datafield><datafield tag='020' ind1=' ' ind2=' '><subfield code='a'>0819212792 (pbk.)</subfield></datafield><datafield tag='040' ind1=' ' ind2=' '><subfield code='a'>DLC</subfield><subfield code='c'>DLC</subfield><subfield code='d'>DLC</subfield><subfield code='d'>InInMRM</subfield></datafield><datafield tag='050' ind1='0' ind2='0'><subfield code='a'>BX5930.2</subfield><subfield code='b'>.S93</subfield></datafield><datafield tag='082' ind1='0' ind2='0'><subfield code='a'>283/.73</subfield><subfield code='2'>19</subfield></datafield><datafield tag='090' ind1=' ' ind2=' '><subfield code='c'>1</subfield><subfield code='d'>1</subfield></datafield><datafield tag='100' ind1='1' ind2=' '><subfield code='a'>Sydnor, William.</subfield></datafield><datafield tag='245' ind1='1' ind2='0'><subfield code='a'>Looking at the Episcopal Church /</subfield><subfield code='c'>William Sydnor.</subfield></datafield><datafield tag='260' ind1=' ' ind2=' '><subfield code='a'>Harrisburg, Pa. :</subfield><subfield code='b'>Morehouse,</subfield><subfield code='c'>c1980.</subfield></datafield><datafield tag='300' ind1=' ' ind2=' '><subfield code='a'>viii, 142 p. :</subfield><subfield code='b'>ill. ;</subfield><subfield code='c'>19 cm.</subfield></datafield><datafield tag='500' ind1=' ' ind2=' '><subfield code='a'>"for persons beginning to discover the Episcopal Church"--t.p.</subfield></datafield><datafield tag='610' ind1='2' ind2='0'><subfield code='a'>Episcopal Church.</subfield></datafield><datafield tag='942' ind1=' ' ind2=' '><subfield code='c'>BOOK</subfield><subfield code='k'>283</subfield><subfield code='j'>.73</subfield><subfield code='l'>SYD</subfield><subfield code='z'>283</subfield><subfield code='x'>yes</subfield></datafield><datafield tag='952' ind1=' ' ind2=' '><subfield code='b'>MRML</subfield><subfield code='k'>283.73 SYD</subfield><subfield code='p'>MRML-00001</subfield><subfield code='u'>1</subfield><subfield code='u'>1</subfield></datafield></record>
|
@@ -1 +0,0 @@
|
|
1
|
-
<record xmlns='http://www.loc.gov/MARC21/slim'><leader>01051 Z a2200301 4500</leader><controlfield tag='001'>12290008</controlfield><controlfield tag='003'>DLC</controlfield><controlfield tag='005'>20060721192944.0</controlfield><controlfield tag='007'>ta</controlfield><controlfield tag='008'>010125s2000 enka b 001 0 eng</controlfield><datafield tag='010' ind1=' ' ind2=' '><subfield code='a'> 2001265660</subfield></datafield><datafield tag='020' ind1=' ' ind2=' '><subfield code='a'>0192853848</subfield></datafield><datafield tag='040' ind1=' ' ind2=' '><subfield code='a'>DLC</subfield><subfield code='c'>DLC</subfield><subfield code='d'>DLC</subfield></datafield><datafield tag='042' ind1=' ' ind2=' '><subfield code='a'>pcc</subfield></datafield><datafield tag='050' ind1='0' ind2='0'><subfield code='a'>BT65</subfield><subfield code='b'>.F67 2000</subfield></datafield><datafield tag='082' ind1='0' ind2='0'><subfield code='a'>230</subfield><subfield code='2'>21</subfield></datafield><datafield tag='090' ind1=' ' ind2=' '><subfield code='c'>2</subfield><subfield code='d'>2</subfield></datafield><datafield tag='100' ind1='1' ind2=' '><subfield code='a'>Ford, David,</subfield><subfield code='d'>1948-</subfield></datafield><datafield tag='245' ind1='1' ind2='0'><subfield code='a'>Theology :</subfield><subfield code='b'>a very short introduction /</subfield><subfield code='c'>David F. Ford.</subfield></datafield><datafield tag='260' ind1=' ' ind2=' '><subfield code='a'>Oxford ;</subfield><subfield code='a'>New York :</subfield><subfield code='b'>Oxford University Press,</subfield><subfield code='c'>[2000?]</subfield></datafield><datafield tag='300' ind1=' ' ind2=' '><subfield code='a'>184 p. :</subfield><subfield code='b'>ill. ;</subfield><subfield code='c'>18 cm.</subfield></datafield><datafield tag='440' ind1=' ' ind2='0'><subfield code='a'>Very short introductions ;</subfield><subfield code='v'>9</subfield></datafield><datafield tag='504' ind1=' ' ind2=' '><subfield code='a'>Includes bibliographical references (p. 173-177) and index.</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Theology, Doctrinal.</subfield></datafield><datafield tag='856' ind1='4' ind2='1'><subfield code='3'>Table of contents only</subfield><subfield code='u'>http://www.loc.gov/catdir/enhancements/fy0611/2001265660-t.html</subfield></datafield><datafield tag='856' ind1='4' ind2='1'><subfield code='3'>Publisher description</subfield><subfield code='u'>http://www.loc.gov/catdir/enhancements/fy0611/2001265660-d.html</subfield></datafield><datafield tag='942' ind1=' ' ind2=' '><subfield code='c'>BOOK</subfield><subfield code='k'>230</subfield><subfield code='l'>FOR</subfield><subfield code='z'>200</subfield><subfield code='x'>yes</subfield></datafield><datafield tag='952' ind1=' ' ind2=' '><subfield code='b'>MRML</subfield><subfield code='k'>230 FOR</subfield><subfield code='p'>MRML-00002</subfield><subfield code='x'>First book entered into catalog.</subfield><subfield code='u'>2</subfield><subfield code='u'>2</subfield></datafield></record>
|
@@ -1 +0,0 @@
|
|
1
|
-
<record xmlns='http://www.loc.gov/MARC21/slim'><leader>00698pam a2200229 a 4500</leader><controlfield tag='001'>3087676</controlfield><controlfield tag='003'>InInMRM</controlfield><controlfield tag='005'>19980619134621.8</controlfield><controlfield tag='008'>980320s1998 pauab 000 0deng</controlfield><datafield tag='010' ind1=' ' ind2=' '><subfield code='a'> 98017577</subfield></datafield><datafield tag='020' ind1=' ' ind2=' '><subfield code='a'>0819217433 (pbk.)</subfield></datafield><datafield tag='040' ind1=' ' ind2=' '><subfield code='a'>DLC</subfield><subfield code='c'>DLC</subfield><subfield code='d'>DLC</subfield></datafield><datafield tag='050' ind1='0' ind2='0'><subfield code='a'>BX5005</subfield><subfield code='b'>.E87 1998</subfield></datafield><datafield tag='082' ind1='0' ind2='0'><subfield code='a'>283</subfield><subfield code='2'>21</subfield></datafield><datafield tag='090' ind1=' ' ind2=' '><subfield code='c'>3</subfield><subfield code='d'>3</subfield></datafield><datafield tag='245' ind1='0' ind2='4'><subfield code='a'>The essential guide to the Anglican communion /</subfield><subfield code='c'>compiled by James Rosenthal.</subfield></datafield><datafield tag='260' ind1=' ' ind2=' '><subfield code='a'>Harrisburg, PA :</subfield><subfield code='b'>Morehouse Pub.,</subfield><subfield code='c'>c1998.</subfield></datafield><datafield tag='300' ind1=' ' ind2=' '><subfield code='a'>xvii, 164 p. :</subfield><subfield code='b'>ill., maps ;</subfield><subfield code='c'>22 cm.</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Anglican Communion.</subfield></datafield><datafield tag='700' ind1='1' ind2=' '><subfield code='a'>Rosenthal, James.</subfield></datafield><datafield tag='942' ind1=' ' ind2=' '><subfield code='c'>BOOK</subfield><subfield code='k'>283</subfield><subfield code='l'>ESS</subfield><subfield code='x'>yes</subfield><subfield code='y'>283</subfield><subfield code='z'>283 ROS</subfield></datafield><datafield tag='952' ind1=' ' ind2=' '><subfield code='2'>DLC</subfield><subfield code='b'>MRML</subfield><subfield code='k'>283 ESS</subfield><subfield code='p'>MRML-00008</subfield><subfield code='u'>8</subfield><subfield code='u'>3</subfield><subfield code='u'>3</subfield></datafield></record>
|
@@ -1 +0,0 @@
|
|
1
|
-
<record xmlns='http://www.loc.gov/MARC21/slim'><leader>00801cam a2200253 a 4500</leader><controlfield tag='001'>13296476</controlfield><controlfield tag='003'>DLC</controlfield><controlfield tag='005'>20070215181322.0</controlfield><controlfield tag='006'>a|||||r|||||00| 0</controlfield><controlfield tag='008'>030730s2002 nyua 000 0 eng</controlfield><datafield tag='010' ind1=' ' ind2=' '><subfield code='a'> 2003272868</subfield></datafield><datafield tag='020' ind1=' ' ind2=' '><subfield code='a'>0824512596 (pbk.)</subfield></datafield><datafield tag='020' ind1=' ' ind2=' '><subfield code='a'>0824509153</subfield></datafield><datafield tag='040' ind1=' ' ind2=' '><subfield code='a'>DLC</subfield><subfield code='c'>DLC</subfield><subfield code='d'>DLC</subfield></datafield><datafield tag='050' ind1='0' ind2='0'><subfield code='a'>BV652.1</subfield><subfield code='b'>.N68 2002</subfield></datafield><datafield tag='082' ind1='0' ind2='0'><subfield code='a'>262/.1</subfield><subfield code='2'>22</subfield></datafield><datafield tag='090' ind1=' ' ind2=' '><subfield code='c'>4</subfield><subfield code='d'>4</subfield></datafield><datafield tag='100' ind1='1' ind2=' '><subfield code='a'>Nouwen, Henri J. M.</subfield></datafield><datafield tag='245' ind1='1' ind2='0'><subfield code='a'>In the name of Jesus :</subfield><subfield code='b'>reflections on Christian leadership with study guide for groups and individuals /</subfield><subfield code='c'>Henri J.M. Nouwen.</subfield></datafield><datafield tag='260' ind1=' ' ind2=' '><subfield code='a'>New York :</subfield><subfield code='b'>Crossroad Pub. Co.,</subfield><subfield code='c'>c2002.</subfield></datafield><datafield tag='300' ind1=' ' ind2=' '><subfield code='a'>107 p. :</subfield><subfield code='b'>ill. ;</subfield><subfield code='c'>20 cm.</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Christian leadership.</subfield></datafield><datafield tag='942' ind1=' ' ind2=' '><subfield code='c'>BOOK</subfield><subfield code='k'>262</subfield><subfield code='j'>.1</subfield><subfield code='l'>NOU</subfield><subfield code='x'>yes</subfield><subfield code='y'>262.1</subfield><subfield code='z'>262.1</subfield></datafield><datafield tag='952' ind1=' ' ind2=' '><subfield code='2'>DLC</subfield><subfield code='b'>MRML</subfield><subfield code='d'> </subfield><subfield code='k'>262.1 NOU</subfield><subfield code='p'>MRML-00003</subfield><subfield code='u'>4</subfield><subfield code='u'>4</subfield></datafield></record>
|
@@ -1 +0,0 @@
|
|
1
|
-
<record xmlns='http://www.loc.gov/MARC21/slim'><leader>01111cam a22002894a 4500</leader><controlfield tag='001'>13748256</controlfield><controlfield tag='003'>DLC</controlfield><controlfield tag='005'>20050808161339.0</controlfield><controlfield tag='006'>a|||||r|||||00| 0</controlfield><controlfield tag='007'>ta</controlfield><controlfield tag='008'>041012s2005 paua 000 0 eng</controlfield><datafield tag='010' ind1=' ' ind2=' '><subfield code='a'> 2004024056</subfield></datafield><datafield tag='020' ind1=' ' ind2=' '><subfield code='a'>0819221805 (hardcover)</subfield></datafield><datafield tag='040' ind1=' ' ind2=' '><subfield code='a'>DLC</subfield><subfield code='c'>DLC</subfield><subfield code='d'>DLC</subfield><subfield code='d'>InInMRML</subfield></datafield><datafield tag='042' ind1=' ' ind2=' '><subfield code='a'>pcc</subfield></datafield><datafield tag='050' ind1='0' ind2='0'><subfield code='a'>BS1235.52</subfield><subfield code='b'>C53 2005</subfield></datafield><datafield tag='082' ind1='0' ind2='0'><subfield code='a'>248.8/6</subfield><subfield code='2'>22</subfield></datafield><datafield tag='090' ind1=' ' ind2=' '><subfield code='c'>5</subfield><subfield code='d'>5</subfield></datafield><datafield tag='100' ind1='1' ind2=' '><subfield code='a'>Claypool, John.</subfield></datafield><datafield tag='245' ind1='1' ind2='0'><subfield code='a'>God, the ingenious alchemist :</subfield><subfield code='b'>transforming tragedy into blessing /</subfield><subfield code='c'>John R. Claypool.</subfield></datafield><datafield tag='260' ind1=' ' ind2=' '><subfield code='a'>Harrisburg, Pa. :</subfield><subfield code='b'>Morehouse Pub.,</subfield><subfield code='c'>c2005.</subfield></datafield><datafield tag='300' ind1=' ' ind2=' '><subfield code='a'>xxvi, 80 p. :</subfield><subfield code='b'>ill. ;</subfield><subfield code='c'>19 cm.</subfield></datafield><datafield tag='505' ind1='0' ind2=' '><subfield code='a'>God lives at the end of our ropes -- Writing straight with crooked lines -- The gift of resilience-- never, never give up! -- Leopards cannot change their spots, but humans can.</subfield></datafield><datafield tag='630' ind1='0' ind2='0'><subfield code='a'>Bible.</subfield><subfield code='p'>O.T.</subfield><subfield code='p'>Genesis</subfield><subfield code='x'>Criticism, interpretation, etc.</subfield></datafield><datafield tag='856' ind1='4' ind2='1'><subfield code='3'>Table of contents</subfield><subfield code='u'>http://www.loc.gov/catdir/toc/ecip052/2004024056.html</subfield></datafield><datafield tag='942' ind1=' ' ind2=' '><subfield code='c'>BOOK</subfield><subfield code='k'>248</subfield><subfield code='j'>.86</subfield><subfield code='l'>CLA</subfield><subfield code='x'>yes</subfield><subfield code='y'>248.86</subfield><subfield code='z'>248.8</subfield></datafield><datafield tag='952' ind1=' ' ind2=' '><subfield code='2'>DLC</subfield><subfield code='b'>MRML</subfield><subfield code='d'> </subfield><subfield code='k'>248.86 CLA</subfield><subfield code='p'>MRML-00004</subfield><subfield code='u'>5</subfield><subfield code='u'>5</subfield></datafield></record>
|
@@ -1 +0,0 @@
|
|
1
|
-
<record xmlns='http://www.loc.gov/MARC21/slim'><leader>00912cam a22003014a 4500</leader><controlfield tag='001'>12552830</controlfield><controlfield tag='003'>DLC</controlfield><controlfield tag='005'>20020705132053.0</controlfield><controlfield tag='006'>a|||||r|||||00| 0</controlfield><controlfield tag='007'>ta</controlfield><controlfield tag='008'>011001s2002 mau | b 00| 0 eng</controlfield><datafield tag='010' ind1=' ' ind2=' '><subfield code='a'> 2001054351</subfield></datafield><datafield tag='020' ind1=' ' ind2=' '><subfield code='a'>1561012025</subfield></datafield><datafield tag='040' ind1=' ' ind2=' '><subfield code='a'>DLC</subfield><subfield code='c'>DLC</subfield><subfield code='d'>DLC</subfield></datafield><datafield tag='042' ind1=' ' ind2=' '><subfield code='a'>pcc</subfield></datafield><datafield tag='050' ind1='0' ind2='0'><subfield code='a'>BS617</subfield><subfield code='b'>.F47 2002</subfield></datafield><datafield tag='082' ind1='0' ind2='0'><subfield code='a'>220.6</subfield><subfield code='2'>21</subfield></datafield><datafield tag='090' ind1=' ' ind2=' '><subfield code='c'>6</subfield><subfield code='d'>6</subfield></datafield><datafield tag='100' ind1='1' ind2=' '><subfield code='a'>Ferlo, Roger,</subfield><subfield code='d'>1951-</subfield></datafield><datafield tag='245' ind1='1' ind2='0'><subfield code='a'>Sensing God :</subfield><subfield code='b'>reading scripture with all our senses /</subfield><subfield code='c'>Roger Ferlo.</subfield></datafield><datafield tag='260' ind1=' ' ind2=' '><subfield code='a'>Cambridge, Mass. :</subfield><subfield code='b'>Cowley Publications,</subfield><subfield code='c'>c2002.</subfield></datafield><datafield tag='300' ind1=' ' ind2=' '><subfield code='a'>xiv, 128 p. ;</subfield><subfield code='c'>18 cm.</subfield></datafield><datafield tag='440' ind1=' ' ind2='0'><subfield code='a'>Cloister books</subfield></datafield><datafield tag='504' ind1=' ' ind2=' '><subfield code='a'>Includes bibliographical references (p. [123]-128).</subfield></datafield><datafield tag='630' ind1='0' ind2='0'><subfield code='a'>Bible</subfield><subfield code='x'>Reading</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Senses and sensation</subfield><subfield code='x'>Religious aspects</subfield><subfield code='x'>Christianity.</subfield></datafield><datafield tag='942' ind1=' ' ind2=' '><subfield code='c'>BOOK</subfield><subfield code='k'>220</subfield><subfield code='j'>.6</subfield><subfield code='l'>FER</subfield><subfield code='x'>yes</subfield><subfield code='y'>220.6</subfield><subfield code='z'>220.6</subfield></datafield><datafield tag='952' ind1=' ' ind2=' '><subfield code='2'>DLC</subfield><subfield code='b'>MRML</subfield><subfield code='k'>220.6 FER</subfield><subfield code='p'>MRML-00005</subfield><subfield code='u'>5</subfield><subfield code='u'>6</subfield><subfield code='u'>6</subfield></datafield></record>
|
@@ -1 +0,0 @@
|
|
1
|
-
<record xmlns='http://www.loc.gov/MARC21/slim'><leader>00923cam a2200289 a 4500</leader><controlfield tag='001'>1196508</controlfield><controlfield tag='003'>DLC</controlfield><controlfield tag='005'>19980824143948.6</controlfield><controlfield tag='008'>980303s1998 mau b 000 0 eng</controlfield><datafield tag='010' ind1=' ' ind2=' '><subfield code='a'> 98004425</subfield></datafield><datafield tag='020' ind1=' ' ind2=' '><subfield code='a'>1561011576 (pbk. : alk. paper)</subfield></datafield><datafield tag='040' ind1=' ' ind2=' '><subfield code='a'>DLC</subfield><subfield code='c'>DLC</subfield><subfield code='d'>DLC</subfield></datafield><datafield tag='050' ind1='0' ind2='0'><subfield code='a'>BV4222</subfield><subfield code='b'>.T39 1998</subfield></datafield><datafield tag='082' ind1='0' ind2='0'><subfield code='a'>251</subfield><subfield code='2'>21</subfield></datafield><datafield tag='090' ind1=' ' ind2=' '><subfield code='c'>7</subfield><subfield code='d'>7</subfield></datafield><datafield tag='100' ind1='1' ind2=' '><subfield code='a'>Taylor, Barbara Brown.</subfield></datafield><datafield tag='245' ind1='1' ind2='0'><subfield code='a'>When God is silent /</subfield><subfield code='c'>Barbara Brown Taylor.</subfield></datafield><datafield tag='260' ind1=' ' ind2=' '><subfield code='a'>Cambridge, Mass. :</subfield><subfield code='b'>Cowley Publications,</subfield><subfield code='c'>c1998.</subfield></datafield><datafield tag='300' ind1=' ' ind2=' '><subfield code='a'>xii, 129 p. ;</subfield><subfield code='c'>18 cm.</subfield></datafield><datafield tag='490' ind1='1' ind2=' '><subfield code='a'>Lyman Beecher lectures on preaching ;</subfield><subfield code='v'>1997</subfield></datafield><datafield tag='504' ind1=' ' ind2=' '><subfield code='a'>Includes bibliographical references (p. 123-129).</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Preaching.</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Hidden God.</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Communication</subfield><subfield code='x'>Religious aspects</subfield><subfield code='x'>Christianity.</subfield></datafield><datafield tag='830' ind1=' ' ind2='0'><subfield code='a'>Lyman Beecher lectures ;</subfield><subfield code='v'>1997.</subfield></datafield><datafield tag='942' ind1=' ' ind2=' '><subfield code='c'>BOOK</subfield><subfield code='k'>251</subfield><subfield code='l'>TAY</subfield><subfield code='x'>yes</subfield><subfield code='y'>251</subfield><subfield code='z'>251</subfield></datafield><datafield tag='952' ind1=' ' ind2=' '><subfield code='2'>DLC</subfield><subfield code='b'>MRML</subfield><subfield code='k'>251 TAY</subfield><subfield code='p'>MRML-00006</subfield><subfield code='u'>6</subfield><subfield code='u'>7</subfield><subfield code='u'>7</subfield></datafield></record>
|
@@ -1 +0,0 @@
|
|
1
|
-
<record xmlns='http://www.loc.gov/MARC21/slim'><leader>00746cam a22002534a 4500</leader><controlfield tag='001'>12314793</controlfield><controlfield tag='003'>DLC</controlfield><controlfield tag='005'>20010706085807.0</controlfield><controlfield tag='008'>010216s2001 nyu 000 0 eng</controlfield><datafield tag='010' ind1=' ' ind2=' '><subfield code='a'> 2001028154</subfield></datafield><datafield tag='020' ind1=' ' ind2=' '><subfield code='a'>0898693322 (pbk.)</subfield></datafield><datafield tag='040' ind1=' ' ind2=' '><subfield code='a'>DLC</subfield><subfield code='c'>DLC</subfield><subfield code='d'>DLC</subfield></datafield><datafield tag='042' ind1=' ' ind2=' '><subfield code='a'>pcc</subfield></datafield><datafield tag='050' ind1='0' ind2='0'><subfield code='a'>BV4510.3</subfield><subfield code='b'>.C73 2001</subfield></datafield><datafield tag='082' ind1='0' ind2='0'><subfield code='a'>248.4/83</subfield><subfield code='2'>21</subfield></datafield><datafield tag='090' ind1=' ' ind2=' '><subfield code='c'>8</subfield><subfield code='d'>8</subfield></datafield><datafield tag='100' ind1='1' ind2=' '><subfield code='a'>Crafton, Barbara Cawthorne.</subfield></datafield><datafield tag='245' ind1='1' ind2='0'><subfield code='a'>Yes! We'll gather at the river! /</subfield><subfield code='c'>Barbara Cawthorne Crafton.</subfield></datafield><datafield tag='260' ind1=' ' ind2=' '><subfield code='a'>New York :</subfield><subfield code='b'>Church Pub.,</subfield><subfield code='c'>c2001.</subfield></datafield><datafield tag='300' ind1=' ' ind2=' '><subfield code='a'>ix, 111 p. ;</subfield><subfield code='c'>16 cm.</subfield></datafield><datafield tag='440' ind1=' ' ind2='0'><subfield code='a'>JourneyBook</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Christian life</subfield><subfield code='x'>Anglican authors.</subfield></datafield><datafield tag='942' ind1=' ' ind2=' '><subfield code='c'>BOOK</subfield><subfield code='k'>248</subfield><subfield code='j'>.483</subfield><subfield code='l'>CRA</subfield><subfield code='x'>yes</subfield><subfield code='y'>248.483</subfield><subfield code='z'>248.4</subfield></datafield><datafield tag='952' ind1=' ' ind2=' '><subfield code='2'>DLC</subfield><subfield code='b'>MRML</subfield><subfield code='k'>248.483 CRA</subfield><subfield code='p'>MRML-00007</subfield><subfield code='u'>7</subfield><subfield code='u'>8</subfield><subfield code='u'>8</subfield></datafield></record>
|
@@ -1 +0,0 @@
|
|
1
|
-
<record xmlns='http://www.loc.gov/MARC21/slim'><leader>00865cam a2200277 a 4500</leader><controlfield tag='001'>4450163</controlfield><controlfield tag='003'>DLC</controlfield><controlfield tag='005'>20000811104049.0</controlfield><controlfield tag='008'>950206s1995 mau b 000 0 eng</controlfield><datafield tag='010' ind1=' ' ind2=' '><subfield code='a'> 95004253</subfield></datafield><datafield tag='020' ind1=' ' ind2=' '><subfield code='a'>1561011126</subfield></datafield><datafield tag='040' ind1=' ' ind2=' '><subfield code='a'>DLC</subfield><subfield code='c'>DLC</subfield><subfield code='d'>DLC</subfield></datafield><datafield tag='043' ind1=' ' ind2=' '><subfield code='a'>e-uk---</subfield></datafield><datafield tag='050' ind1='0' ind2='0'><subfield code='a'>BV4254.2</subfield><subfield code='b'>.W55 1995</subfield></datafield><datafield tag='082' ind1='0' ind2='0'><subfield code='a'>252/.03</subfield><subfield code='2'>20</subfield></datafield><datafield tag='090' ind1=' ' ind2=' '><subfield code='c'>9</subfield><subfield code='d'>9</subfield></datafield><datafield tag='100' ind1='1' ind2=' '><subfield code='a'>Williams, Rowan,</subfield><subfield code='d'>1950-</subfield></datafield><datafield tag='245' ind1='1' ind2='2'><subfield code='a'>A ray of darkness :</subfield><subfield code='b'>sermons and reflections /</subfield><subfield code='c'>Rowan Williams.</subfield></datafield><datafield tag='260' ind1=' ' ind2=' '><subfield code='a'>Cambridge, Mass. :</subfield><subfield code='b'>Cowley Publications,</subfield><subfield code='c'>c1995.</subfield></datafield><datafield tag='300' ind1=' ' ind2=' '><subfield code='a'>ix, 244 p. ;</subfield><subfield code='c'>23 cm.</subfield></datafield><datafield tag='504' ind1=' ' ind2=' '><subfield code='a'>Includes bibliographical references.</subfield></datafield><datafield tag='610' ind1='2' ind2='0'><subfield code='a'>Church of England</subfield><subfield code='x'>Sermons.</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Sermons, English</subfield><subfield code='y'>20th century.</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Anglican Communion</subfield><subfield code='x'>Sermons.</subfield></datafield><datafield tag='942' ind1=' ' ind2=' '><subfield code='c'>BOOK</subfield><subfield code='k'>252</subfield><subfield code='j'>.03</subfield><subfield code='l'>WIL</subfield><subfield code='x'>yes</subfield><subfield code='y'>252.03</subfield><subfield code='z'>252 WIL</subfield></datafield><datafield tag='952' ind1=' ' ind2=' '><subfield code='2'>DLC</subfield><subfield code='b'>MRML</subfield><subfield code='k'>252.03 WIL</subfield><subfield code='p'>MRML-00009</subfield><subfield code='u'>9</subfield><subfield code='u'>9</subfield><subfield code='u'>9</subfield></datafield></record>
|
@@ -1 +0,0 @@
|
|
1
|
-
<record xmlns='http://www.loc.gov/MARC21/slim'><leader>01103pam a2200313 a 4500</leader><controlfield tag='001'>3090065</controlfield><controlfield tag='003'>DLC</controlfield><controlfield tag='005'>20000519164339.0</controlfield><controlfield tag='008'>981022s1999 pau b 000 0 eng</controlfield><datafield tag='010' ind1=' ' ind2=' '><subfield code='a'> 98042777</subfield></datafield><datafield tag='020' ind1=' ' ind2=' '><subfield code='a'>0819217735 (paper)</subfield></datafield><datafield tag='040' ind1=' ' ind2=' '><subfield code='a'>DLC</subfield><subfield code='c'>DLC</subfield><subfield code='d'>DLC</subfield></datafield><datafield tag='050' ind1='0' ind2='0'><subfield code='a'>BX5182</subfield><subfield code='b'>.C68 1999</subfield></datafield><datafield tag='082' ind1='0' ind2='0'><subfield code='a'>234</subfield><subfield code='2'>21</subfield></datafield><datafield tag='090' ind1=' ' ind2=' '><subfield code='c'>10</subfield><subfield code='d'>10</subfield></datafield><datafield tag='100' ind1='1' ind2=' '><subfield code='a'>Countryman, Louis William,</subfield><subfield code='d'>1941-</subfield></datafield><datafield tag='245' ind1='1' ind2='0'><subfield code='a'>Living on the border of the holy :</subfield><subfield code='b'>renewing the priesthood of all /</subfield><subfield code='c'>L. William Countryman.</subfield></datafield><datafield tag='260' ind1=' ' ind2=' '><subfield code='a'>Harrisburg, Pa. :</subfield><subfield code='b'>Morehouse Pub.,</subfield><subfield code='c'>c1999.</subfield></datafield><datafield tag='300' ind1=' ' ind2=' '><subfield code='a'>xiii, 205 p. ;</subfield><subfield code='c'>23 cm.</subfield></datafield><datafield tag='504' ind1=' ' ind2=' '><subfield code='a'>Includes bibliographical references (p. [199]-205).</subfield></datafield><datafield tag='610' ind1='2' ind2='0'><subfield code='a'>Episcopal Church</subfield><subfield code='x'>Clergy.</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Priesthood, Universal.</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Priesthood.</subfield></datafield><datafield tag='650' ind1=' ' ind2='0'><subfield code='a'>Laity.</subfield></datafield><datafield tag='906' ind1=' ' ind2=' '><subfield code='a'>7</subfield><subfield code='b'>cbc</subfield><subfield code='c'>orignew</subfield><subfield code='d'>1</subfield><subfield code='e'>ocip</subfield><subfield code='f'>19</subfield><subfield code='g'>y-gencatlg</subfield></datafield><datafield tag='942' ind1=' ' ind2=' '><subfield code='c'>BOOK</subfield><subfield code='k'>234</subfield><subfield code='l'>COU</subfield><subfield code='x'>yes</subfield><subfield code='y'>234</subfield><subfield code='z'>234 COU</subfield></datafield><datafield tag='952' ind1=' ' ind2=' '><subfield code='2'>DLC</subfield><subfield code='b'>MRML</subfield><subfield code='k'>234 COU</subfield><subfield code='p'>MRML-00010</subfield><subfield code='u'>10</subfield><subfield code='u'>10</subfield><subfield code='u'>10</subfield></datafield><datafield tag='955' ind1=' ' ind2=' '><subfield code='a'>pc01 to SA00 10-23-98; sh20 10-26-98; ld07 10-29-98; sh04 11-02-98; CIP ver. ta06; to SL 03-03-99; Copy 2 to BCCD sa55 05-19-00</subfield></datafield><datafield tag='984' ind1=' ' ind2=' '><subfield code='a'>gsl</subfield></datafield></record>
|
data/examples/zebra/shadow/empty
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
|
data/examples/zebra/tab/kohalis
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
kohaadmin:K0h4R0ck$
|
data/examples/zebra/tmp/empty
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
|
data/lib/zcc/marcadditions.rb
DELETED
@@ -1,221 +0,0 @@
|
|
1
|
-
#MARCAdditions are some useful additions made for processing MARC records.
|
2
|
-
module MARC
|
3
|
-
class Record
|
4
|
-
# linter depends on Perl's MARC::Lint and hence Perl's MARC::Record
|
5
|
-
# Use cpan to install them.
|
6
|
-
def linter
|
7
|
-
#puts self.to_xml
|
8
|
-
#puts (self.to_xml).to_s
|
9
|
-
rec = self.dup
|
10
|
-
#rec.leader[9] = ' '
|
11
|
-
#puts rec
|
12
|
-
xml_rec = (rec.to_xml).to_s
|
13
|
-
#puts xml_rec
|
14
|
-
|
15
|
-
if LINTER == false
|
16
|
-
puts 'You do not have the Perl MARC::Lint module installed or have disabled this feature.'
|
17
|
-
return
|
18
|
-
end
|
19
|
-
#xml_record = self.to_xml
|
20
|
-
#puts self
|
21
|
-
#STDIN.gets
|
22
|
-
#puts
|
23
|
-
#contents = `perl linter.pl "#{self}"`
|
24
|
-
contents = `perl "#{File.expand_path("~")}"/.zcc/linter.pl "#{xml_rec}"`
|
25
|
-
|
26
|
-
|
27
|
-
#aFile = File.new("temp_lint.mrc","w")
|
28
|
-
#aFile.write(self.to_marc)
|
29
|
-
#aFile.close
|
30
|
-
#contents = `perl linter.pl`
|
31
|
-
|
32
|
-
if contents.empty?
|
33
|
-
puts "there were no errors detected by the linter."
|
34
|
-
else
|
35
|
-
puts contents
|
36
|
-
end
|
37
|
-
if self.leader[18,1] == 'a'
|
38
|
-
puts "AACR is good."
|
39
|
-
elsif self.leader[18,1] == 'i'
|
40
|
-
puts "ISBD is ok"
|
41
|
-
else
|
42
|
-
puts "Is this record any good?"
|
43
|
-
end
|
44
|
-
|
45
|
-
end
|
46
|
-
|
47
|
-
|
48
|
-
def blank_field_prompt(field, subfield)
|
49
|
-
#puts "subfield: #{subfield}"
|
50
|
-
print "\nYour MARC record does not contain #{field}#{subfield}.\nEnter the intended value for #{field}#{subfield} or hit ENTER to leave blank\n#{field}#{subfield} > "
|
51
|
-
value = STDIN.gets.chomp
|
52
|
-
value
|
53
|
-
end
|
54
|
-
|
55
|
-
# To use marc_to_csv it must be passed a csv template in the order of the fields.
|
56
|
-
# See the zoomer.yaml file for instructions on creating a template.
|
57
|
-
# See the main script for turning this feature on.
|
58
|
-
def marc_to_csv(template)
|
59
|
-
values = []
|
60
|
-
|
61
|
-
# blank_field_prompt = 'puts "subfield: #{subfield}"; print "There is no valid value in your MARC record.\n Please enter the intended value for #{field}#{subfield} or Enter to leave blank\n#{field}#{subfield}> "; value = STDIN.gets.chomp'
|
62
|
-
|
63
|
-
template.each do |template|
|
64
|
-
field, subfield, leng = template
|
65
|
-
field = field.to_s
|
66
|
-
subfield = subfield.to_s
|
67
|
-
if field == 'prompt'
|
68
|
-
puts "prompt: please enter the #{field} #{subfield}" #--subfield here is a label for the prompt
|
69
|
-
value = STDIN.gets.chomp
|
70
|
-
value = "\"#{value}\","
|
71
|
-
values << value
|
72
|
-
elsif field.length == 3 and field.match('\d')
|
73
|
-
fields = self.find_all { | f | f.tag =~ Regexp.new( field.gsub('X','.'))}
|
74
|
-
value = ''
|
75
|
-
if fields.empty?
|
76
|
-
#puts "oh, no!"
|
77
|
-
value = blank_field_prompt(field, subfield)
|
78
|
-
#eval(blank_field_prompt)
|
79
|
-
else
|
80
|
-
fields.each do |f|
|
81
|
-
if f[subfield]
|
82
|
-
value += f[subfield] + "|"
|
83
|
-
else
|
84
|
-
value = blank_field_prompt(field, subfield)
|
85
|
-
end
|
86
|
-
end
|
87
|
-
end
|
88
|
-
value.sub!(/\|$/, '')
|
89
|
-
value = value[0, leng] if leng
|
90
|
-
#puts "value: #{value}"
|
91
|
-
value = "\"#{value}\","
|
92
|
-
values << value
|
93
|
-
|
94
|
-
else
|
95
|
-
puts "this is not a valid value for marc_to_csv"
|
96
|
-
end
|
97
|
-
end
|
98
|
-
#puts values
|
99
|
-
values[-1].sub!(/\,$/, '')
|
100
|
-
values = values.to_s
|
101
|
-
values += "\n"
|
102
|
-
end
|
103
|
-
|
104
|
-
#++ The local_script method is for automating changes to the record before saving it. See the main script to turn on this feature. See zoomer.yaml for instructions on creating a script for your purposes.
|
105
|
-
def local_script(script)
|
106
|
-
#print $clear_code
|
107
|
-
record = self
|
108
|
-
|
109
|
-
#--creating my procs for creating fields and appending subfields
|
110
|
-
# these two should probably be moved to methods
|
111
|
-
create_datafield = proc{|record, field, i1, i2| puts "Creating datafield: #{field}"; record.append(MARC::DataField.new(field.to_s, i1.to_s, i2.to_s)); puts "****", record, "***" if $testing;}
|
112
|
-
|
113
|
-
append_subfield = proc{|record, field, subfield, val|
|
114
|
-
field = field.to_s
|
115
|
-
subfield = subfield.to_s
|
116
|
-
value = val.dup
|
117
|
-
value = value.to_s
|
118
|
-
if value.include?('proc ')
|
119
|
-
#I've had problems with this bit but it seems to work now
|
120
|
-
value = value.sub(/^proc /, '')
|
121
|
-
real_value = eval("#{$procs[value]}")
|
122
|
-
next if real_value == nil
|
123
|
-
record[field].append(MARC::Subfield.new(subfield, real_value))
|
124
|
-
elsif
|
125
|
-
record[field].append(MARC::Subfield.new(subfield, value))
|
126
|
-
end
|
127
|
-
}
|
128
|
-
|
129
|
-
script.each do |single_script|
|
130
|
-
puts "--------------------------------------" if $testing
|
131
|
-
puts single_script.join(', ') if $testing
|
132
|
-
op, field, subfield, filler= single_script
|
133
|
-
field = field.to_s
|
134
|
-
subfield = subfield.to_s
|
135
|
-
operation = op.dup
|
136
|
-
if operation.include?('proc ')
|
137
|
-
operation = operation.dup.sub(/^proc /, '')
|
138
|
-
eval("#{$procs[operation]}")
|
139
|
-
elsif operation == 'create-field'
|
140
|
-
create_datafield.call(record, field, subfield, filler)
|
141
|
-
elsif operation == 'append-subfield'
|
142
|
-
append_subfield.call(record, field, subfield, filler)
|
143
|
-
elsif operation == 'prompt'
|
144
|
-
print "What do you want to go into the #{field}#{subfield} #{filler}? "
|
145
|
-
field_data = STDIN.gets.chomp
|
146
|
-
next if field_data.empty?
|
147
|
-
m_fields = record.find_all{|x| x.tag == field}
|
148
|
-
if m_fields.empty?
|
149
|
-
puts "m_fields is empty!!"
|
150
|
-
create_datafield.call(record, field, ' ', ' ')
|
151
|
-
m_fields = record.find_all{|x| x.tag == field}
|
152
|
-
end
|
153
|
-
m_fields.each {|field| field.append(MARC::Subfield.new(subfield, field_data))}
|
154
|
-
elsif operation == 'remove'
|
155
|
-
to_remove = record.find_all {|f| f.tag =~ Regexp.new( field.gsub('X','.'))}
|
156
|
-
to_remove.each do |remove|
|
157
|
-
record.fields.delete(remove)
|
158
|
-
end
|
159
|
-
elsif operation == 'sort-tags' ##This doesn't work right now
|
160
|
-
puts "sorting by tag"
|
161
|
-
puts record , "################"
|
162
|
-
record = record.sort_by{| field | field.tag}
|
163
|
-
puts record
|
164
|
-
STDIN.gets
|
165
|
-
else
|
166
|
-
puts "there's nothing for that yet in local_script"
|
167
|
-
end
|
168
|
-
puts record if $testing
|
169
|
-
end
|
170
|
-
|
171
|
-
record
|
172
|
-
end
|
173
|
-
|
174
|
-
#++ compare() is a method to print out a comparison of two MARC records tag by tag (not by subfields).
|
175
|
-
# A match between lines is denoted with a 'm'. If there are differences between the records,
|
176
|
-
# the object that recieves the compare call is denoted with a '+' and the object passed in
|
177
|
-
# parens is denoted with '-'.
|
178
|
-
def compare_marc(rec2)
|
179
|
-
orig = self.dup
|
180
|
-
for ft in ('000'..'999')
|
181
|
-
fields_original = orig.find_all {|f| f.tag == ft}
|
182
|
-
fields_record2 = rec2.find_all {|f| f.tag == ft}
|
183
|
-
fields_orig = []
|
184
|
-
fields_rec2 = []
|
185
|
-
|
186
|
-
fields_original.each {|f| fields_orig << f.to_s}
|
187
|
-
fields_record2.each {|f| fields_rec2 << f.to_s}
|
188
|
-
|
189
|
-
matches = fields_orig & fields_rec2
|
190
|
-
matches.each { |f| puts "m #{f}" } if matches
|
191
|
-
|
192
|
-
fields_orig -= matches
|
193
|
-
fields_orig.each {|f| puts "+ #{f}"} if fields_orig
|
194
|
-
|
195
|
-
fields_rec2 -= matches
|
196
|
-
fields_rec2.each {|f| puts "- #{f}"} if fields_rec2
|
197
|
-
end
|
198
|
-
end
|
199
|
-
end
|
200
|
-
end
|
201
|
-
|
202
|
-
module ZCC
|
203
|
-
def ZCC.lccn_conversion lccn
|
204
|
-
split_lccn = lccn.split('-')
|
205
|
-
year_len = split_lccn[0].length
|
206
|
-
serial_len = split_lccn[1].length
|
207
|
-
start_length = year_len + serial_len
|
208
|
-
if year_len == 2
|
209
|
-
final_lccn = lccn.gsub('-', "#{'0' * (8 - start_length)}")
|
210
|
-
elsif year_len == 4
|
211
|
-
final_lccn = lccn.gsub('-', "#{'0' * (10 - start_length)}")
|
212
|
-
end
|
213
|
-
final_lccn
|
214
|
-
end
|
215
|
-
end
|
216
|
-
|
217
|
-
#class String
|
218
|
-
# def to_proc
|
219
|
-
# eval "Proc.new #{self} " # or "Proc.new #{self}" in my case
|
220
|
-
# end
|
221
|
-
#end
|