Project

om

0.04
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
OM (Opinionated Metadata): A library to help you tame sprawling XML schemas like MODS. Wraps Nokogiri documents in objects with miscellaneous helper methods for doing things like retrieve generated xpath queries or look up properties based on a simplified DSL
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 5.1, < 7
>= 1.4.2
~> 3.3
 Project Readme

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)

Version CircleCI Coverage Status

Jump In: Slack Status

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

Jon Cameron

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.