Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 162 lines (158 sloc) 4.69 kb
42d0c57 Commit 0.1.0 alpha release
Dan Scott authored
1 --TEST--
2 marc_002: iterate and pretty print MARC records from a file with multiple records
d44164b Add a SKIPIF section to skip tests when Structures_LinkedList is not ins...
Dan Scott authored
3 --SKIPIF--
4 <?php include('skipif.inc'); ?>
42d0c57 Commit 0.1.0 alpha release
Dan Scott authored
5 --FILE--
6 <?php
7 $dir = dirname(__FILE__);
8744bef Correct location of File/MARC.php and File/MARCXML.php
Dan Scott authored
8 require 'File/MARC.php';
42d0c57 Commit 0.1.0 alpha release
Dan Scott authored
9 $marc_file = new File_MARC($dir . '/' . 'music.mrc');
10
11 while ($marc_record = $marc_file->next()) {
12 print $marc_record;
13 print "\n";
14 }
15 ?>
16 --EXPECT--
17 LDR 01145ncm 2200277 i 4500
18 001 000073594
19 004 AAJ5802
20 005 20030415102100.0
21 008 801107s1977 nyujza
22 010 _a 77771106
23 035 _a(CaOTUIC)15460184
24 035 9 _aAAJ5802
25 040 _aLC
26 050 00 _aM1366
27 _b.M62
28 _dM1527.2
29 245 04 _aThe Modern Jazz Quartet :
30 _bThe legendary profile. --
31 260 _aNew York :
32 _bM.J.Q. Music,
33 _cc1977.
34 300 _ascore (72 p.) ;
35 _c31 cm.
36 500 _aFor piano, vibraphone, drums, and double bass.
37 505 0 _aLewis, J. Django.--Lewis, J. Plastic dreams (music from the film Kemek).--Lewis, J. Dancing (music from the film Kemek).--Lewis, J. Blues in A minor.--Lewis, J. Blues in B♭.--Lewis, J. Precious joy.--Jackson, M. The martyr.--Jackson, M. The legendary profile.
38 650 0 _aJazz.
39 650 0 _aMotion picture music
40 _vExcerpts
41 _vScores.
42 700 12 _aLewis, John,
43 _d1920-
44 _tSelections.
45 _f1977.
46 700 12 _aJackson, Milt.
47 _tMartyrs.
48 _f1977.
49 700 12 _aJackson, Milt.
50 _tLegendary profile.
51 _f1977.
52 740 4 _aThe legendary profile.
53 852 00 _bMUSIC
54 _cMAIN
55 _kfolio
56 _hM1366
57 _iM62
58 _91
59 _4Marvin Duchow Music
60 _5
61
62 LDR 01293cjm 2200289 a 4500
63 001 001878039
64 005 20050110174900.0
65 007 sd fungnn|||e|
66 008 940202r19931981nyujzn i d
67 024 1 _a7464573372
68 028 02 _aJK 57337
69 _bRed Baron
70 035 _a(OCoLC)29737267
71 040 _aSVP
72 _cSVP
73 _dLGG
74 100 1 _aDesmond, Paul,
75 _d1924-
76 245 10 _aPaul Desmond & the Modern Jazz Quartet
77 _h[sound recording]
78 260 _aNew York, N.Y. :
79 _bRed Baron :
80 _bManufactured by Sony Music Entertainment,
81 _cp1993.
82 300 _a1 sound disc (39 min.) :
83 _bdigital ;
84 _c4 3/4 in.
85 511 0 _aPaul Desmond, alto saxophone; Modern Jazz Quartet: John Lewis, piano; Milt Jackson, vibraphone; Percy Heath, bass; Connie Kay, drums.
86 500 _aAll arrangements by John Lewis.
87 518 _aRecorded live on December 25, 1971 at Town Hall, NYC.
88 500 _aOriginally released in 1981 by Finesse as LP FW 27487.
89 500 _aProgram notes by Irving Townsend, June 1981, on container insert.
90 505 0 _aGreensleeves -- You go to my head -- Blue dove -- Jesus Christ Superstar -- Here's that rainy day -- East of the sun -- Bags' new groove.
91 650 0 _aJazz
92 _y1971-1980.
93 700 1 _aLewis, John,
94 _d1920-
95 710 2 _aModern Jazz Quartet.
96 740 0 _aPaul Desmond and the Modern Jazz Quartet.
97
98 LDR 01829cjm 2200385 a 4500
99 001 001964482
100 005 20060626132700.0
101 007 sd fzngnn|m|e|
102 008 871211p19871957nyujzn d
103 024 1 _a4228332902
104 028 01 _a833 290-2
105 _bVerve
106 033 0 _a19571027
107 _b6299
108 _cD56
109 033 0 _a196112--
110 _b3804
111 _cN4
112 033 0 _a19571019
113 _b4104
114 _cC6
115 033 0 _a197107--
116 _b6299
117 _cV7
118 035 _a(OCoLC)17222092
119 040 _aCPL
120 _cCPL
121 _dOCL
122 _dLGG
123 048 _apz01
124 _aka01
125 _asd01
126 _apd01
127 110 2 _aModern Jazz Quartet.
128 _4prf
129 245 14 _aThe Modern Jazz Quartet plus
130 _h[sound recording].
131 260 _a[New York] :
132 _bVerve,
133 _cp1987.
134 300 _a1 sound disc :
135 _bdigital ;
136 _c4 3/4 in.
137 440 0 _aCompact jazz
138 511 0 _aModern Jazz Quartet (principally) ; Milt Jackson, vibraphone (2nd and 8th works) ; Oscar Peterson, piano (2nd and 8th works) ; Ray Brown, bass (2nd and 8th works) ; Ed Thigpen (2nd work), Louis Hayes (8th work), drums.
139 518 _aRecorded live, Oct. 27, 1957, at the Donaueschingen Jazz Festival (1st, 5th, 7th, and 10th works); Dec. 1961, in New York (2nd work); live, Oct. 19, 1957, at the Opera House, Chicago (3rd, 4th, 6th, and 9th works); July 1971, in Villingen, Germany (8th work).
140 500 _aCompact disc.
141 500 _aAnalog recording.
142 505 0 _aThe golden striker (4:08) -- On Green Dolphin Street (7:28) -- D & E (4:55) -- I'll remember April (4:51) -- Cortège (7:15) -- Now's the time (4:43) -- J.B. blues (5:09) -- Reunion blues (6:35) -- 'Round midnight (3:56) -- Three windows (7:20).
143 650 0 _aJazz.
144 700 1 _aJackson, Milt.
145 _4prf
146 700 1 _aPeterson, Oscar,
147 _d1925-
148 _4prf
149 700 1 _aBrown, Ray,
150 _d1926-2002.
151 _4prf
152 700 1 _aThigpen, Ed.
153 _4prf
154 700 1 _aHayes, Louis,
155 _d1937-
156 _4prf
157 852 80 _bMUSIC
158 _cAV
159 _hCD 1131
160 _4Marvin Duchow Music
161 _5Audio-Visual
Something went wrong with that request. Please try again.