madcowley-jambase4r 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,30 @@
1
+ require File.dirname(__FILE__) + '/../../spec_helper'
2
+
3
+ describe JamBase4R::Model do
4
+ include JamBase4R::Model
5
+
6
+ before(:each) do
7
+ @elem = stub("Element", :get_text => nil)
8
+ end
9
+
10
+ it "should handle elements that do not have a text value" do
11
+ send(:get_element_value, @elem).should be_nil
12
+ end
13
+
14
+ it "should not raise an exception if the element does not have a text value" do
15
+ lambda {
16
+ send(:get_element_value, @elem)
17
+ }.should_not raise_error
18
+ end
19
+
20
+ it "should handle nil elements" do
21
+ send(:get_element_value, nil).should be_nil
22
+ end
23
+
24
+ it "should not raise an exception if element is nil" do
25
+ lambda {
26
+ send(:get_element_value, nil)
27
+ }.should_not raise_error
28
+ end
29
+
30
+ end
@@ -0,0 +1,73 @@
1
+ require File.dirname(__FILE__) + '/../../spec_helper'
2
+
3
+ describe JamBase4R::Venue do
4
+
5
+ def create_mock_element(expect=true)
6
+ e = mock("Element")
7
+ e.stub!(:blank?).and_return(!expect)
8
+
9
+ #id
10
+ id_value = mock("ID Value")
11
+ expect ? id_value.should_receive(:value).and_return(10) : id_value.should_not_receive(:value)
12
+ id = mock("Venue ID")
13
+ expect ? id.should_receive(:get_text).at_least(1).times.and_return(id_value) : id.should_not_receive(:get_text)
14
+
15
+ expect ? e.should_receive(:get_elements).with("venue_id").and_return([id]) :
16
+ e.should_not_receive(:get_elements).with("venue_id")
17
+
18
+ #name
19
+ name_value = mock("Name Value")
20
+ expect ? name_value.should_receive(:value).and_return("A Venue") :
21
+ name_value.should_not_receive(:value)
22
+ name = mock("Name")
23
+ expect ? name.should_receive(:get_text).at_least(1).times.and_return(name_value) :
24
+ name.should_not_receive(:get_text)
25
+
26
+ expect ? e.should_receive(:get_elements).with("venue_name").and_return([name]) :
27
+ e.should_not_receive(:get_elements).with("venue_name")
28
+
29
+ #city
30
+ city_value = mock("City Value")
31
+ expect ? city_value.should_receive(:value).and_return("Denver") :
32
+ city_value.should_not_receive(:value)
33
+ city = mock("City")
34
+ expect ? city.should_receive(:get_text).at_least(1).times.and_return(city_value) :
35
+ city.should_not_receive(:get_text)
36
+
37
+ expect ? e.should_receive(:get_elements).with("venue_city").and_return([city]) :
38
+ e.should_not_receive(:get_elements).with("venue_city")
39
+
40
+ #state
41
+ state_value = mock("State Value")
42
+ expect ? state_value.should_receive(:value).and_return("Colorado") :
43
+ state_value.should_not_receive(:value)
44
+ state = mock("State")
45
+ expect ? state.should_receive(:get_text).at_least(1).times.and_return(state_value) :
46
+ state.should_not_receive(:get_text)
47
+
48
+ expect ? e.should_receive(:get_elements).with("venue_state").and_return([state]) :
49
+ e.should_not_receive(:get_elements).with("venue_state")
50
+
51
+ #zip
52
+ zip_value = mock("Zip Value")
53
+ expect ? zip_value.should_receive(:value).and_return("90210") :
54
+ zip_value.should_not_receive(:value)
55
+ zip = mock("Zip")
56
+ expect ? zip.should_receive(:get_text).at_least(1).times.and_return(zip_value) :
57
+ zip.should_not_receive(:get_text)
58
+
59
+ expect ? e.should_receive(:get_elements).with("venue_zip").and_return([zip]) :
60
+ e.should_not_receive(:get_elements).with("venue_zip")
61
+
62
+ return e
63
+ end
64
+
65
+ it "should build itself if the element does not respond true to blank?" do
66
+ JamBase4R::Venue.new(create_mock_element)
67
+ end
68
+
69
+ it "should not build itself if the element responds true to blank?" do
70
+ JamBase4R::Venue.new(create_mock_element(false))
71
+ end
72
+
73
+ end
@@ -0,0 +1,473 @@
1
+ require 'rubygems' unless defined? RubyGems
2
+ require 'spec'
3
+ local_dir = File.join(File.dirname(__FILE__), "..", "lib")
4
+ require File.join(local_dir, 'jambase4r')
5
+
6
+ Spec::Runner.configure do |config|
7
+
8
+ end
9
+
10
+ def xml_response
11
+ <<-eos
12
+ <?xml version="1.0" encoding="ISO-8859-1"?>
13
+ <JamBase_Data>
14
+ <Results_Title>There are the search results</Results_Title><event>
15
+ <event_id>740136</event_id>
16
+ <artists>
17
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
18
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
19
+ </artists>
20
+ <event_date>6/27/2008</event_date>
21
+ <venue>
22
+ <venue_id>300</venue_id><venue_name>Rialto Theatre</venue_name>
23
+
24
+ <venue_city>Tucson</venue_city><venue_state>AZ</venue_state>
25
+ <venue_zip>85701</venue_zip>
26
+ </venue>
27
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=740136</event_url>
28
+ </event>
29
+ <event>
30
+ <event_id>740137</event_id>
31
+ <artists>
32
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
33
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
34
+
35
+ </artists>
36
+ <event_date>6/28/2008</event_date>
37
+ <venue>
38
+ <venue_id>20891</venue_id><venue_name>Orpheum Theater</venue_name>
39
+ <venue_city>Flagstaff</venue_city><venue_state>AZ</venue_state>
40
+ <venue_zip>86001</venue_zip>
41
+ </venue>
42
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=740137</event_url>
43
+ </event>
44
+ <event>
45
+
46
+ <event_id>748340</event_id>
47
+ <artists>
48
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
49
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
50
+ </artists>
51
+ <event_date>6/29/2008</event_date>
52
+ <venue>
53
+ <venue_id>36888</venue_id><venue_name>Kit Carson Park</venue_name>
54
+ <venue_city>Taos</venue_city><venue_state>NM</venue_state>
55
+
56
+ <venue_zip>87571</venue_zip>
57
+ </venue>
58
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748340</event_url>
59
+ </event>
60
+ <event>
61
+ <event_id>748341</event_id>
62
+ <artists>
63
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
64
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
65
+ </artists>
66
+
67
+ <event_date>7/2/2008</event_date>
68
+ <venue>
69
+ <venue_id>639</venue_id><venue_name>Sheridan Opera House</venue_name>
70
+ <venue_city>Telluride</venue_city><venue_state>CO</venue_state>
71
+ <venue_zip>81435</venue_zip>
72
+ </venue>
73
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748341</event_url>
74
+ </event>
75
+ <event>
76
+ <event_id>748342</event_id>
77
+
78
+ <artists>
79
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
80
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
81
+ </artists>
82
+ <event_date>7/3/2008</event_date>
83
+ <venue>
84
+ <venue_id>639</venue_id><venue_name>Sheridan Opera House</venue_name>
85
+ <venue_city>Telluride</venue_city><venue_state>CO</venue_state>
86
+
87
+ <venue_zip>81435</venue_zip>
88
+ </venue>
89
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748342</event_url>
90
+ </event>
91
+ <event>
92
+ <event_id>748418</event_id>
93
+ <artists>
94
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
95
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
96
+ </artists>
97
+
98
+ <event_date>7/6/2008</event_date>
99
+ <venue>
100
+ <venue_id>41903</venue_id><venue_name>Belly Up</venue_name>
101
+ <venue_city>Aspen</venue_city><venue_state>CO</venue_state>
102
+ <venue_zip>81611</venue_zip>
103
+ </venue>
104
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748418</event_url>
105
+ </event>
106
+ <event>
107
+ <event_id>738467</event_id>
108
+
109
+ <artists>
110
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
111
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
112
+ </artists>
113
+ <event_date>7/8/2008</event_date>
114
+ <venue>
115
+ <venue_id>19</venue_id><venue_name>Boulder Theater</venue_name>
116
+ <venue_city>Boulder</venue_city><venue_state>CO</venue_state>
117
+
118
+ <venue_zip>80302</venue_zip>
119
+ </venue>
120
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=738467</event_url>
121
+ </event>
122
+ <event>
123
+ <event_id>748488</event_id>
124
+ <artists>
125
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
126
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
127
+ </artists>
128
+
129
+ <event_date>7/9/2008</event_date>
130
+ <venue>
131
+ <venue_id>21324</venue_id><venue_name>Community Concert Hall</venue_name>
132
+ <venue_city>Durango</venue_city><venue_state>CO</venue_state>
133
+ <venue_zip>81301</venue_zip>
134
+ </venue>
135
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748488</event_url>
136
+ </event>
137
+ <event>
138
+ <event_id>748343</event_id>
139
+
140
+ <artists>
141
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
142
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
143
+ </artists>
144
+ <event_date>7/11/2008</event_date>
145
+ <venue>
146
+ <venue_id>37815</venue_id><venue_name>The Winery at Eagle Knoll</venue_name>
147
+ <venue_city>Eagle</venue_city><venue_state>ID</venue_state>
148
+
149
+ <venue_zip>83616</venue_zip>
150
+ </venue>
151
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748343</event_url>
152
+ </event>
153
+ <event>
154
+ <event_id>748344</event_id>
155
+ <artists>
156
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
157
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
158
+ </artists>
159
+
160
+ <event_date>7/12/2008</event_date>
161
+ <venue>
162
+ <venue_id>72600</venue_id><venue_name>University Theatre</venue_name>
163
+ <venue_city>Missoula</venue_city><venue_state>MT</venue_state>
164
+ <venue_zip>59812</venue_zip>
165
+ </venue>
166
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748344</event_url>
167
+ </event>
168
+ <event>
169
+ <event_id>748428</event_id>
170
+
171
+ <artists>
172
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
173
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
174
+ </artists>
175
+ <event_date>7/13/2008</event_date>
176
+ <venue>
177
+ <venue_id>773</venue_id><venue_name>Emerson Center for the Arts</venue_name>
178
+ <venue_city>Bozeman</venue_city><venue_state>MT</venue_state>
179
+
180
+ <venue_zip>59715</venue_zip>
181
+ </venue>
182
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748428</event_url>
183
+ </event>
184
+ <event>
185
+ <event_id>748424</event_id>
186
+ <artists>
187
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
188
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
189
+ </artists>
190
+
191
+ <event_date>7/15/2008</event_date>
192
+ <venue>
193
+ <venue_id>17412</venue_id><venue_name>Jack Singer Concert Hall</venue_name>
194
+ <venue_city>Calgary</venue_city><venue_state>AB</venue_state>
195
+ <venue_zip>666666</venue_zip>
196
+ </venue>
197
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748424</event_url>
198
+ </event>
199
+ <event>
200
+ <event_id>748345</event_id>
201
+
202
+ <artists>
203
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
204
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
205
+ </artists>
206
+ <event_date>7/16/2008</event_date>
207
+ <venue>
208
+ <venue_id>67888</venue_id><venue_name>The Lakeview Auditorium</venue_name>
209
+ <venue_city>Saskatoon</venue_city><venue_state>SK</venue_state>
210
+
211
+ <venue_zip>Canada</venue_zip>
212
+ </venue>
213
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748345</event_url>
214
+ </event>
215
+ <event>
216
+ <event_id>748346</event_id>
217
+ <artists>
218
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
219
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
220
+ </artists>
221
+
222
+ <event_date>7/18/2008</event_date>
223
+ <venue>
224
+ <venue_id>6186</venue_id><venue_name>Fargo Theatre</venue_name>
225
+ <venue_city>Fargo</venue_city><venue_state>ND</venue_state>
226
+ <venue_zip>58102</venue_zip>
227
+ </venue>
228
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748346</event_url>
229
+ </event>
230
+ <event>
231
+ <event_id>748347</event_id>
232
+
233
+ <artists>
234
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
235
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
236
+ </artists>
237
+ <event_date>7/19/2008</event_date>
238
+ <venue>
239
+ <venue_id>28837</venue_id><venue_name>Mitchell Auditorium--College of St. Scholastica</venue_name>
240
+ <venue_city>Duluth</venue_city><venue_state>MN</venue_state>
241
+
242
+ <venue_zip>55801</venue_zip>
243
+ </venue>
244
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748347</event_url>
245
+ </event>
246
+ <event>
247
+ <event_id>740138</event_id>
248
+ <artists>
249
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
250
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
251
+ </artists>
252
+
253
+ <event_date>7/20/2008</event_date>
254
+ <venue>
255
+ <venue_id>664</venue_id><venue_name>Pabst Theater</venue_name>
256
+ <venue_city>Milwaukee</venue_city><venue_state>WI</venue_state>
257
+ <venue_zip>53202</venue_zip>
258
+ </venue>
259
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=740138</event_url>
260
+ </event>
261
+ <event>
262
+ <event_id>748348</event_id>
263
+
264
+ <artists>
265
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
266
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
267
+ </artists>
268
+ <event_date>7/22/2008</event_date>
269
+ <venue>
270
+ <venue_id>12789</venue_id><venue_name>Kentucky Theater</venue_name>
271
+ <venue_city>Lexington</venue_city><venue_state>KY</venue_state>
272
+
273
+ <venue_zip>40507</venue_zip>
274
+ </venue>
275
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748348</event_url>
276
+ </event>
277
+ <event>
278
+ <event_id>748349</event_id>
279
+ <artists>
280
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
281
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
282
+ </artists>
283
+
284
+ <event_date>7/23/2008</event_date>
285
+ <venue>
286
+ <venue_id>22604</venue_id><venue_name>Stuart's Opera House</venue_name>
287
+ <venue_city>Nelsonville</venue_city><venue_state>OH</venue_state>
288
+ <venue_zip>45764</venue_zip>
289
+ </venue>
290
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748349</event_url>
291
+ </event>
292
+ <event>
293
+ <event_id>740139</event_id>
294
+
295
+ <artists>
296
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
297
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
298
+ </artists>
299
+ <event_date>7/24/2008</event_date>
300
+ <venue>
301
+ <venue_id>21857</venue_id><venue_name>Byham Theater</venue_name>
302
+ <venue_city>Pittsburgh</venue_city><venue_state>PA</venue_state>
303
+
304
+ <venue_zip>15222</venue_zip>
305
+ </venue>
306
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=740139</event_url>
307
+ </event>
308
+ <event>
309
+ <event_id>748350</event_id>
310
+ <artists>
311
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
312
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
313
+ </artists>
314
+
315
+ <event_date>8/8/2008</event_date>
316
+ <venue>
317
+ <venue_id>75825</venue_id><venue_name>Festival Of Friends </venue_name>
318
+ <venue_city>Hamilton</venue_city><venue_state>ON</venue_state>
319
+ <venue_zip>L8P 1B7</venue_zip>
320
+ </venue>
321
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748350</event_url>
322
+ </event>
323
+ <event>
324
+ <event_id>748491</event_id>
325
+
326
+ <artists>
327
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
328
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
329
+ </artists>
330
+ <event_date>8/9/2008</event_date>
331
+ <venue>
332
+ <venue_id>78908</venue_id><venue_name>Festival Of The Islands </venue_name>
333
+ <venue_city>Gananoque</venue_city><venue_state>ON</venue_state>
334
+
335
+ <venue_zip>K7G 2V1</venue_zip>
336
+ </venue>
337
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=748491</event_url>
338
+ </event>
339
+ <event>
340
+ <event_id>720234</event_id>
341
+ <artists>
342
+ <artist><artist_id>34054</artist_id><artist_name>Jake Shimabukuro</artist_name></artist>
343
+ <artist><artist_id>32281</artist_id><artist_name>Stephen Kellogg &amp; The Sixers</artist_name></artist>
344
+
345
+ <artist><artist_id>10249</artist_id><artist_name>Ryan Montbleau Band</artist_name></artist>
346
+ <artist><artist_id>31187</artist_id><artist_name>The Lee Boys</artist_name></artist>
347
+ <artist><artist_id>17603</artist_id><artist_name>Janis Ian</artist_name></artist>
348
+ <artist><artist_id>28180</artist_id><artist_name>Allison Moorer</artist_name></artist>
349
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
350
+ <artist><artist_id>22684</artist_id><artist_name>Jim Bianco</artist_name></artist>
351
+
352
+ <artist><artist_id>36787</artist_id><artist_name>Kathy Mattea</artist_name></artist>
353
+ <artist><artist_id>37670</artist_id><artist_name>Espers</artist_name></artist>
354
+ </artists>
355
+ <event_date>8/15/2008</event_date>
356
+ <venue>
357
+ <venue_id>9268</venue_id><venue_name>Philadelphia Folk Festival</venue_name>
358
+ <venue_city>Schwenksville</venue_city><venue_state>PA</venue_state>
359
+ <venue_zip>19473</venue_zip>
360
+
361
+ </venue>
362
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=720234</event_url>
363
+ </event>
364
+ <event>
365
+ <event_id>762154</event_id>
366
+ <artists>
367
+ <artist><artist_id>1837</artist_id><artist_name>Bob Dylan</artist_name></artist>
368
+ <artist><artist_id>50068</artist_id><artist_name>Conor Oberst</artist_name></artist>
369
+ <artist><artist_id>16395</artist_id><artist_name>Gillian Welch</artist_name></artist>
370
+
371
+ <artist><artist_id>31855</artist_id><artist_name>Raul Malo</artist_name></artist>
372
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
373
+ <artist><artist_id>43236</artist_id><artist_name>Levon Helm Band</artist_name></artist>
374
+ <artist><artist_id>41580</artist_id><artist_name>The Swell Season</artist_name></artist>
375
+ </artists>
376
+ <event_date>8/17/2008</event_date>
377
+ <venue>
378
+ <venue_id>199</venue_id><venue_name>Saratoga Performing Arts Center</venue_name>
379
+
380
+ <venue_city>Saratoga Springs</venue_city><venue_state>NY</venue_state>
381
+ <venue_zip>12866</venue_zip>
382
+ </venue>
383
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=762154</event_url>
384
+ </event>
385
+ <event>
386
+ <event_id>764293</event_id>
387
+ <artists>
388
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
389
+ </artists>
390
+
391
+ <event_date>9/22/2008</event_date>
392
+ <venue>
393
+ <venue_id>55901</venue_id><venue_name>Judson Memorial Church</venue_name>
394
+ <venue_city>New York</venue_city><venue_state>NY</venue_state>
395
+ <venue_zip>10012</venue_zip>
396
+ </venue>
397
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=764293</event_url>
398
+ </event>
399
+ <event>
400
+ <event_id>764294</event_id>
401
+
402
+ <artists>
403
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
404
+ </artists>
405
+ <event_date>9/23/2008</event_date>
406
+ <venue>
407
+ <venue_id>55901</venue_id><venue_name>Judson Memorial Church</venue_name>
408
+ <venue_city>New York</venue_city><venue_state>NY</venue_state>
409
+ <venue_zip>10012</venue_zip>
410
+ </venue>
411
+
412
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=764294</event_url>
413
+ </event>
414
+ <event>
415
+ <event_id>764295</event_id>
416
+ <artists>
417
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
418
+ </artists>
419
+ <event_date>9/25/2008</event_date>
420
+ <venue>
421
+ <venue_id>55901</venue_id><venue_name>Judson Memorial Church</venue_name>
422
+
423
+ <venue_city>New York</venue_city><venue_state>NY</venue_state>
424
+ <venue_zip>10012</venue_zip>
425
+ </venue>
426
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=764295</event_url>
427
+ </event>
428
+ <event>
429
+ <event_id>764296</event_id>
430
+ <artists>
431
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
432
+ </artists>
433
+
434
+ <event_date>9/26/2008</event_date>
435
+ <venue>
436
+ <venue_id>55901</venue_id><venue_name>Judson Memorial Church</venue_name>
437
+ <venue_city>New York</venue_city><venue_state>NY</venue_state>
438
+ <venue_zip>10012</venue_zip>
439
+ </venue>
440
+ <event_url>http://www.jambase.com/Shows/Event.aspx?eventID=764296</event_url>
441
+ </event>
442
+ <event>
443
+ <event_id>735315</event_id>
444
+
445
+ <artists>
446
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
447
+ </artists>
448
+ <event_date>12/6/2008</event_date>
449
+ <venue>
450
+ <venue_id>51093</venue_id><venue_name>Colston Hall</venue_name>
451
+ <venue_city>Bristol</venue_city><venue_state>UK</venue_state>
452
+ <venue_zip>BS1 5AR</venue_zip>
453
+ </venue>
454
+
455
+ <ticket_url>http://www.jambase.com/Redirect.aspx?EventID=735315</ticket_url><event_url>http://www.jambase.com/Shows/Event.aspx?eventID=735315</event_url>
456
+ </event>
457
+ <event>
458
+ <event_id>743106</event_id>
459
+ <artists>
460
+ <artist><artist_id>13508</artist_id><artist_name>Steve Earle</artist_name></artist>
461
+ </artists>
462
+ <event_date>12/1/2009</event_date>
463
+ <venue>
464
+ <venue_id>31119</venue_id><venue_name>Corn Exchange</venue_name>
465
+
466
+ <venue_city>Cambridge</venue_city><venue_state>UK</venue_state>
467
+ <venue_zip>CB2 3QB</venue_zip>
468
+ </venue>
469
+ <ticket_url>http://www.jambase.com/Redirect.aspx?EventID=743106</ticket_url><event_url>http://www.jambase.com/Shows/Event.aspx?eventID=743106</event_url>
470
+ </event>
471
+ </JamBase_Data>
472
+ eos
473
+ end