Opinionated Metadata - allows you to define a “terminology” to ease translation between XML and ruby objects
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
devel Added awesome_print as devel dependency Aug 28, 2012
gemfiles
lib
spec Bug #66: Reworking DynamicNode's method_missing, adding respond_to_mi… Jul 29, 2015
.document Finished fixing generated docs Feb 15, 2013
.gitignore Allow serialization of booleans Oct 14, 2012
.rspec Setting values on a proxy term should build the parent terms if they … Jun 13, 2014
.travis.yml Stop spamming IRC with Travis builds Oct 27, 2016
COMMON_OM_PATTERNS.md Convert textile to markdown #60 May 27, 2015
CONTRIBUTING.md Updating CONTRIBUTING.md as per Hydra v11.0.0 Jan 25, 2017
GETTING_FANCY.md Convert textile to markdown #60 May 27, 2015
GETTING_STARTED.md
Gemfile Use HTTPS URLs for RubyGems Sep 11, 2014
History.md Convert textile to markdown #60 May 27, 2015
LICENSE Update LICENSE to Apache 2.0 Jan 6, 2015
QUERYING_DOCUMENTS.md Convert textile to markdown #60 May 27, 2015
README.md Convert textile to markdown #60 May 27, 2015
Rakefile Require rdoc/task instead of rake/rdoctask Oct 14, 2012
UPDATING_DOCUMENTS.md Convert textile to markdown #60 May 27, 2015
container_spec.rb added support for #xml_template, fixed a bug in .retrieve() Jul 2, 2010
om.gemspec Bug #38: License missing from gemspec May 27, 2015

README.md

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

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.