Apologies for the crossposting.
I wanted to let people know that Ruby MARC 0.3.0 was just released as
a gem. This version addresses the biggest complaint about Ruby MARC,
which was the fact that it could only parse MARCXML with REXML, Ruby's
native XML parser (which, if you've used it, you hate it).
Now you can use Nokogiri (http://nokogiri.rubyforge.org/) or, if
you're using JRuby, jrexml instead of REXML, if you want.
This release *shouldn't* break anything.
The rubyforge project is here:
The rdocs are here:
The source is here:
sudo gem install marc
While I'm making MARC and Ruby related announcements, I'd like to
point out a project I released a couple of weeks ago that sits on top
of Ruby MARC, called enhanced-marc. It's basically a domain specific
language for working with the MARC fixed fields and providing a set of
objects and methods to more easily parse what the record is
reader = MARC::Reader.new('marc.dat')
records = 
reader.each do | record |
records << record
# Send a boolean true if you want human readable forms, rather than
=> ["Bibliography", "Catalog"]
=> ["Cylindrical", "Mercator"]
The enhanced-marc project is here:
To install it:
gem sources -a http://gems.github.com
sudo gem install rsinger-enhanced_marc
Let me know if you have any problems or suggestions with either of these.