https://github.com/atomotic/oaidc-datacite-web
Generate a DataCite xml record and mint a DOI identifier from an oaidc xml record.
https://github.com/atomotic/oaidc-datacite-web
Last synced: 2 months ago
JSON representation
Generate a DataCite xml record and mint a DOI identifier from an oaidc xml record.
- Host: GitHub
- URL: https://github.com/atomotic/oaidc-datacite-web
- Owner: atomotic
- Created: 2013-03-15T14:44:17.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-15T14:46:01.000Z (about 12 years ago)
- Last Synced: 2025-01-05T02:24:57.303Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 215 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
oaidc-datacite-web
==================Minimal ruby/sinatra web application for transforming an oai-dc record into [datacite xml](http://schema.datacite.org/meta/kernel-2.2/index.html) schema and generate a DOI identifier using [DataCite API](https://mds.datacite.org/static/apidoc).
Verify that oai-pmh Identifier verb displays **repositoryIdentifier** and **sampleIdentifier**
**Requirements**: ruby 1.9, redis-server
How to use
----------* clone the repository
% git clone https://github.com/atomotic/oaidc-datacite-web.git
* install required gems
% bundle install install --path vendor/bundle
* edit **run.rb** with your api credentials. also modify **lib/datacite.rb** to change production or development api endpoint.
* start redis server% redis-server &
* start the application, or deploy the way you like (passenger, unicorn)% shotgun run.rb
TODO
----
* improve the logic to guess the oai record identifier from a summary page url
* allow editing of crosswalked metadata with http://codemirror.net/
* better error handling
* improve the xslt for crosswalk oaidc to datacitexmlLicense
-------
* CC0