{"action":"created","issue":{"url":"https://api.github.com/repos/OAButton/odb/issues/58","repository_url":"https://api.github.com/repos/OAButton/odb","labels_url":"https://api.github.com/repos/OAButton/odb/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/OAButton/odb/issues/58/comments","events_url":"https://api.github.com/repos/OAButton/odb/issues/58/events","html_url":"https://github.com/OAButton/odb/issues/58","id":147161395,"number":58,"title":"Adding a DOI field in requests","user":{"login":"dhimmel","id":1117703,"avatar_url":"https://avatars.githubusercontent.com/u/1117703?v=3","gravatar_id":"","url":"https://api.github.com/users/dhimmel","html_url":"https://github.com/dhimmel","followers_url":"https://api.github.com/users/dhimmel/followers","following_url":"https://api.github.com/users/dhimmel/following{/other_user}","gists_url":"https://api.github.com/users/dhimmel/gists{/gist_id}","starred_url":"https://api.github.com/users/dhimmel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhimmel/subscriptions","organizations_url":"https://api.github.com/users/dhimmel/orgs","repos_url":"https://api.github.com/users/dhimmel/repos","events_url":"https://api.github.com/users/dhimmel/events{/privacy}","received_events_url":"https://api.github.com/users/dhimmel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-09T20:37:02Z","updated_at":"2016-04-09T20:48:56Z","closed_at":null,"body":"Having each request linked to a URL and not a DOI seems like it will be susceptible to linkrot. Additionally, it's much easier to get metadata for a DOI. Also searching for requests by DOI makes more sense than search by URL, since there are many URLs for a single article.\r\n\r\nI get that it would be undesirable to only support pages with DOIs, so allowing an optional field may be the way to go."},"comment":{"url":"https://api.github.com/repos/OAButton/odb/issues/comments/207852244","html_url":"https://github.com/OAButton/odb/issues/58#issuecomment-207852244","issue_url":"https://api.github.com/repos/OAButton/odb/issues/58","id":207852244,"user":{"login":"dhimmel","id":1117703,"avatar_url":"https://avatars.githubusercontent.com/u/1117703?v=3","gravatar_id":"","url":"https://api.github.com/users/dhimmel","html_url":"https://github.com/dhimmel","followers_url":"https://api.github.com/users/dhimmel/followers","following_url":"https://api.github.com/users/dhimmel/following{/other_user}","gists_url":"https://api.github.com/users/dhimmel/gists{/gist_id}","starred_url":"https://api.github.com/users/dhimmel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhimmel/subscriptions","organizations_url":"https://api.github.com/users/dhimmel/orgs","repos_url":"https://api.github.com/users/dhimmel/repos","events_url":"https://api.github.com/users/dhimmel/events{/privacy}","received_events_url":"https://api.github.com/users/dhimmel/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T20:48:56Z","updated_at":"2016-04-09T20:48:56Z","body":"As an example aesthetic benefit, [account pages](https://opendatabutton.org/account) would display:\r\n\r\n```\r\nSupporting data for DOI: 10.1007/s11192-015-1592-8\r\n```\r\n\r\nrather than\r\n\r\n```\r\nSupporting data for the article at http://link.springer.com/article/10.1007/s11192-015-1592-8/fulltext.html\r\n```"}}