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:
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/>.