{"action":"created","issue":{"url":"https://api.github.com/repos/mjordan/islandora_cdm_api/issues/2","labels_url":"https://api.github.com/repos/mjordan/islandora_cdm_api/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mjordan/islandora_cdm_api/issues/2/comments","events_url":"https://api.github.com/repos/mjordan/islandora_cdm_api/issues/2/events","html_url":"https://github.com/mjordan/islandora_cdm_api/issues/2","id":107530360,"number":2,"title":"Generate CPD datastream","user":{"login":"mjordan","id":403918,"avatar_url":"https://avatars.githubusercontent.com/u/403918?v=3","gravatar_id":"","url":"https://api.github.com/users/mjordan","html_url":"https://github.com/mjordan","followers_url":"https://api.github.com/users/mjordan/followers","following_url":"https://api.github.com/users/mjordan/following{/other_user}","gists_url":"https://api.github.com/users/mjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/mjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjordan/subscriptions","organizations_url":"https://api.github.com/users/mjordan/orgs","repos_url":"https://api.github.com/users/mjordan/repos","events_url":"https://api.github.com/users/mjordan/events{/privacy}","received_events_url":"https://api.github.com/users/mjordan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mjordan/islandora_cdm_api/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T14:54:20Z","updated_at":"2015-10-05T22:11:28Z","closed_at":"2015-10-05T22:11:28Z","body":"For compound objects, generate a datastream (*not* derivative - that was a mistake as indicated in the original version of this issue) that is the same as the .cpd file in CONTENTdm, e.g.,\r\n\r\n```xml\r\n <?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<cpd>\r\n  <type>Document</type>\r\n  <page>\r\n    <pagetitle>Newsclipping - Vancouver Daily Province: Argan Singh is shot in throat. Page 1</pagetitle>\r\n    <pagefile>16220.jp2</pagefile>\r\n    <pageptr>15378</pageptr>\r\n  </page>\r\n  <page>\r\n    <pagetitle>Newsclipping - Vancouver Daily Province: Argan Singh is shot in throat. Page 2</pagetitle>\r\n    <pagefile>16221.jp2</pagefile>\r\n    <pageptr>15379</pageptr>\r\n  </page>\r\n</cpd>\r\n```\r\n\r\nThis is the file that should be returned by islandora_cdm_api_dmgetcompoundobjectinfo(). The DSID of this file should be CDMCPD.\r\n\r\nProvide an interface for selecting which collections to do this for; we don't want to do it for every compound object."},"comment":{"url":"https://api.github.com/repos/mjordan/islandora_cdm_api/issues/comments/145684507","html_url":"https://github.com/mjordan/islandora_cdm_api/issues/2#issuecomment-145684507","issue_url":"https://api.github.com/repos/mjordan/islandora_cdm_api/issues/2","id":145684507,"user":{"login":"mjordan","id":403918,"avatar_url":"https://avatars.githubusercontent.com/u/403918?v=3","gravatar_id":"","url":"https://api.github.com/users/mjordan","html_url":"https://github.com/mjordan","followers_url":"https://api.github.com/users/mjordan/followers","following_url":"https://api.github.com/users/mjordan/following{/other_user}","gists_url":"https://api.github.com/users/mjordan/gists{/gist_id}","starred_url":"https://api.github.com/users/mjordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjordan/subscriptions","organizations_url":"https://api.github.com/users/mjordan/orgs","repos_url":"https://api.github.com/users/mjordan/repos","events_url":"https://api.github.com/users/mjordan/events{/privacy}","received_events_url":"https://api.github.com/users/mjordan/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T22:11:28Z","updated_at":"2015-10-05T22:11:28Z","body":"Closed with 171538."}}