{"action":"created","issue":{"url":"https://api.github.com/repos/modc08/modc08/issues/29","labels_url":"https://api.github.com/repos/modc08/modc08/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/modc08/modc08/issues/29/comments","events_url":"https://api.github.com/repos/modc08/modc08/issues/29/events","html_url":"https://github.com/modc08/modc08/issues/29","id":55216757,"number":29,"title":"Display citation block in experiment and dataset views","user":{"login":"franksc","id":8837821,"avatar_url":"https://avatars.githubusercontent.com/u/8837821?v=3","gravatar_id":"","url":"https://api.github.com/users/franksc","html_url":"https://github.com/franksc","followers_url":"https://api.github.com/users/franksc/followers","following_url":"https://api.github.com/users/franksc/following{/other_user}","gists_url":"https://api.github.com/users/franksc/gists{/gist_id}","starred_url":"https://api.github.com/users/franksc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franksc/subscriptions","organizations_url":"https://api.github.com/users/franksc/orgs","repos_url":"https://api.github.com/users/franksc/repos","events_url":"https://api.github.com/users/franksc/events{/privacy}","received_events_url":"https://api.github.com/users/franksc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Li-ReDBox","id":3203171,"avatar_url":"https://avatars.githubusercontent.com/u/3203171?v=3","gravatar_id":"","url":"https://api.github.com/users/Li-ReDBox","html_url":"https://github.com/Li-ReDBox","followers_url":"https://api.github.com/users/Li-ReDBox/followers","following_url":"https://api.github.com/users/Li-ReDBox/following{/other_user}","gists_url":"https://api.github.com/users/Li-ReDBox/gists{/gist_id}","starred_url":"https://api.github.com/users/Li-ReDBox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Li-ReDBox/subscriptions","organizations_url":"https://api.github.com/users/Li-ReDBox/orgs","repos_url":"https://api.github.com/users/Li-ReDBox/repos","events_url":"https://api.github.com/users/Li-ReDBox/events{/privacy}","received_events_url":"https://api.github.com/users/Li-ReDBox/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/modc08/modc08/milestones/3","html_url":"https://github.com/modc08/modc08/milestones/Phase%20Four:%20interface%20&%20frontend%20stuff","labels_url":"https://api.github.com/repos/modc08/modc08/milestones/3/labels","id":889180,"number":3,"title":"Phase Four: interface & frontend stuff","description":"Encompassing customising the Experiment view, adding the new Source/Sample view, browse & search","creator":{"login":"millercathy","id":9669002,"avatar_url":"https://avatars.githubusercontent.com/u/9669002?v=3","gravatar_id":"","url":"https://api.github.com/users/millercathy","html_url":"https://github.com/millercathy","followers_url":"https://api.github.com/users/millercathy/followers","following_url":"https://api.github.com/users/millercathy/following{/other_user}","gists_url":"https://api.github.com/users/millercathy/gists{/gist_id}","starred_url":"https://api.github.com/users/millercathy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/millercathy/subscriptions","organizations_url":"https://api.github.com/users/millercathy/orgs","repos_url":"https://api.github.com/users/millercathy/repos","events_url":"https://api.github.com/users/millercathy/events{/privacy}","received_events_url":"https://api.github.com/users/millercathy/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":3,"state":"open","created_at":"2014-12-03T00:14:29Z","updated_at":"2015-02-24T04:30:50Z","due_on":"2015-03-26T13:30:00Z","closed_at":null},"comments":16,"created_at":"2015-01-22T22:14:52Z","updated_at":"2015-03-03T02:34:16Z","closed_at":null,"body":"Experiment and dataset views should display a citation block following this format:\r\n\r\nCreator1; Creator2 (PublicationYear): Title. Publisher. ResourceType. Identifier\r\n\r\ne.g.\r\nLlamas, Bastian; Haak, Wolfgang (2014): _Awesome ancient human DNA experiment_. Australian Centre for Ancient DNA, University of Adelaide. Collection. http://dx.doi.org/10.5072/1234\r\n\r\nMyTardis wants author names stored as 'Firstname Lastname' but in a citation they need to display as 'Lastname, Firstname'. (maybe apply some regular expression magic)\r\n\r\nFor an experiment ex:\r\n- PublicationYear = ex.publication_year (cf. #23)\r\n- Title = ex.title\r\n- Publisher = ex.institution\r\n- ResourceType = 'Collection'\r\n- Identifier = DOI of experiment\r\n\r\nFor a dataset ds with chronologically earliest parent experiment ex:\r\n- PublicationYear = ex.publication_year\r\n- Title = ds.description\r\n- Publisher = ex.institution\r\n- ResourceType = 'Dataset'\r\n- Identifier = DOI of dataset"},"comment":{"url":"https://api.github.com/repos/modc08/modc08/issues/comments/76875848","html_url":"https://github.com/modc08/modc08/issues/29#issuecomment-76875848","issue_url":"https://api.github.com/repos/modc08/modc08/issues/29","id":76875848,"user":{"login":"franksc","id":8837821,"avatar_url":"https://avatars.githubusercontent.com/u/8837821?v=3","gravatar_id":"","url":"https://api.github.com/users/franksc","html_url":"https://github.com/franksc","followers_url":"https://api.github.com/users/franksc/followers","following_url":"https://api.github.com/users/franksc/following{/other_user}","gists_url":"https://api.github.com/users/franksc/gists{/gist_id}","starred_url":"https://api.github.com/users/franksc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franksc/subscriptions","organizations_url":"https://api.github.com/users/franksc/orgs","repos_url":"https://api.github.com/users/franksc/repos","events_url":"https://api.github.com/users/franksc/events{/privacy}","received_events_url":"https://api.github.com/users/franksc/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T02:34:16Z","updated_at":"2015-03-03T02:34:16Z","body":":+1: "}}