mdtranslator was written by the Alaska Data Integration Working Group (ADIwg) to assist researchers with authoring both spatial and non-spatial metadata for projects and datasets. Input to the mdtranslator is a JSON record conforming to the mdJson-schemas. The user can request the mdTranslator to translate the mdJson input into one or more established metadata standards. The mdTranslator currently supports translation to ISO 19115-2, ISO 19110, HTML, and mdJson 2x. The mdTranslator part of an open source architecture toolkit that allows developers to write additional readers and/or writers as may be required.
Add this line to your application's Gemfile:
gem 'adiwg-mdtranslator'
And then execute:
$ bundle
Or install it yourself as:
$ gem install adiwg-mdtranslator
$ mdtranslator help translate
Requires
- Ruby
- bundler (
gem install bundler
) - rake (
gem install rake
)
In order to run the tests, first install the dependencies
$ bundle install
Then, run the rake command
$ bundle exec rake
TODO: There are currently 4 tests that are not passing, related to mdJSON readers and writers
- Fork it ( https://github.com/[my-github-username]/mdTranslator/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request