Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Opinionated Metadata - allows you to define a “terminology” to ease translation between XML and ruby objects

Update LICENSE to Apache 2.0

@atz noticed yesterday that OM still appeared to be licensed under an MIT-style license. A discussion with Hydra Steering revealed that we have CLAs on file for both the copyright holder (@flyingzumwalt) and his institution at the time (MediaShelf). It was Steering's understanding that we could relicense the OM codebase under the Hydra community's standard Apache 2.0 license, which we use for all code held in the projecthydra GitHub organization.
latest commit 30cdd8ab1a
Michael J. Giarlo mjgiarlo authored

Build Status Gem Version

om (Opinionated 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 README

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



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 (c) 2010 Matt Zumwalt. See LICENSE for details.

Something went wrong with that request. Please try again.