Note: This project has been deprecated and is no longer being maintained.
The functionality previously provided by om
has been gradually removed from
Samvera Gems (with the most recent being the changes introduced into hydra-works
in samvera/hydra-works#354). As such, the community has
generally shifted away from approaches involving the usage of this Gem to
provide an object-oriented API to XML Documents.
om (Opinionated Metadata)
What is om?
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.
Product Owner & Maintenance
om is a Core Component of the Samvera community. The documentation for what this means can be found here.
Product Owner
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 README
Acknowledgments
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 (c) 2010 Matt Zumwalt. See LICENSE for details.