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.
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.
> You received this message because you are subscribed to the Google
> Groups "Blacklight Development" group.
> To post to this group, send email to blacklight-...@googlegroups.com
> To unsubscribe from this group, send email to blacklight-develo...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/blacklight-development?hl=en