Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Open Access DOI resolver
Ruby JavaScript
branch: master
Failed to load latest commit information.
assets Combine bootstrap javascript into a single file.
config
db
doc Add a version of the dirty DOIs list with visible non-printables.
models Use beanstalkd to queue harvesting jobs.
spec Reintroduce option to process records in batches.
tasks
views Combine bootstrap javascript into a single file.
.autotest
.gitignore
.powrc
.rspec Refactor specs.
.ruby-version
.rvmrc
COPYING Add license agreement.
Gemfile Use beanstalkd to queue harvesting jobs.
Gemfile.lock Use beanstalkd to queue harvesting jobs.
Procfile Add and configure unicorn.
README.md
app.rb
config.ru

README.md

Open Access DOI resolver

This is the code for an open access Digital Object Identifier (DOI) resolver: you give it a DOI and it gives you back the URL for an open access version of the article it refers to.

It can only resolve DOIs for which metadata has been harvested from an open access repository, so odds are good that a given DOI won't resolve.

This is currently a proof-of-concept, based on a very short conversation about things it would be useful to be able to do with DOIs. It's not very full featured. In particular:

  1. There are no scheduled jobs to harvest up-to-data metadata from repositories. It gets updated when and only when I give it a kick.
  2. It only harvests metadata from a defined set of repositories. That set only expands when I manually add a repository.
  3. It doesn't store any metadata for each DOI other than an associated URL. There are other ways to get metadata for a DOI.
  4. It's currently running on a starter-tier PostgreSQL database at Heroku, which means only space for 10,000 rows in the database. They're not big rows, there's just a lot of them — currently a little over 9,800 from a single repository. Heroku has some free MongoDB plans that are based on volume rather than number of rows, so I might switch over to one of those soon.

It's a project I've put together in my spare time too, so I'm using it as an opportunity to learn some bits and bobs. Feel free to critique, contribute or report feature requests and bugs over at github.

Copyright (C) 2013 Jez Cope

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
Something went wrong with that request. Please try again.