om (Optinionated Metadata)
A library to help you tame sprawling XML schemas like MODS.
OM allows you to define a “terminology” to ease translation between XML and ruby objects – you can query the xml for Nodes or node values without ever writing a line of XPath.
OM “terms” are ruby symbols you define (in the terminology) that map specific XML content into ruby object attributes.
Tutorials & Reference
Solrizing Documents
The solrizer gem provides support for indexing XML documents into Solr based on OM Terminologies. That process is documented in the solrizer documentation
OM in the Wild
We have a page on the Hydra wiki with a list of OM Terminologies in active use: OM Terminologies in the Wild
Acknowledgements
Creator: Matt Zumwalt (MediaShelf)
Thanks to
Bess Sadler, who enabled us to take knowledge gleaned from developing Blacklight and apply it to OM metadata indexing Ross Singer Those who participated in the Opinionated MODS breakout session at Code4Lib 2010
Copyright
Copyright © 2010 Matt Zumwalt. See LICENSE for details.