0.0
No commit activity in last 3 years
No release in over 3 years
Wrapper code for the MusicStory data product
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
 Dependencies

Development

Runtime

~> 1.0
>= 1.5.0
>= 3.11.0
>= 0.1.4
 Project Readme

Build Status Gem Version

Music Story

Wrapper code for MusicStory data products.

Usage:

MusicStory::XMLParser.each_in_file('music-story-data.xml') do |artist|
  puts artist.name
  puts artist.plain_text_bio
  puts artist.main_genres[0].id
  # see MusicStory::{Artist,Genre} for more available properties
end

Should be able to cope with big XML files, as it uses an XML::Reader to scan through the file one artist at a time; only the current artist object is kept in memory. (Although only tried it on a 330KB file so far so YMMV...)

License

Released under the MIT license.

Version Notes.

2.0.0

  • requires at least ruby 1.9.3
  • changed the gem requirement from our local 'persistence' gem to the 'hold' gem available on rubygems.