- @url = hash[:url] if hash.key? :url
- @date = hash[:date] if hash.key? :date
- @artist = hash[:artist] if hash.key? :artist
- @location = hash[:location] if hash.key? :location
- @description = hash[:description] if hash.key? :description
- @attendance = hash[:attendance] if hash.key? :attendance
+ @url = hash[:url]
+ @date = hash[:date]
+ @location = hash[:location]
+ @description = hash[:description]
+ @attendance = hash[:attendance]
+
+ @artists = hash[:artists]
+
+ if @artists.length > 10 #more than 10 artists and it floods
+ diff = @artists.length - 10
+ @artist_string = @artists[0..10].join(', ')
+ @artist_string << _(" and %{n} more...") % {:n => diff}
+ else
+ @artist_string = @artists.join(', ')
+ end