{"action":"created","comment":{"url":"https://api.github.com/repos/sul-dlss/sul-embed/pulls/comments/35689409","id":35689409,"diff_hunk":"@@ -238,7 +238,7 @@ def header_title_logic\n \n       def header_title_html(doc)\n         doc.span(class: 'sul-embed-header-title') do\n-          doc.text @purl_object.title\n+          doc.text @purl_object.ng_xml.xpath('//dc:title','dc'=>'http://purl.org/dc/elements/1.1/').text","path":"lib/embed/viewer/common_viewer.rb","position":5,"original_position":5,"commit_id":"cc821a12327f078c32e3df7ea56bd1c9e2e2c16d","original_commit_id":"cc821a12327f078c32e3df7ea56bd1c9e2e2c16d","user":{"login":"jkeck","id":96776,"avatar_url":"https://avatars.githubusercontent.com/u/96776?v=3","gravatar_id":"","url":"https://api.github.com/users/jkeck","html_url":"https://github.com/jkeck","followers_url":"https://api.github.com/users/jkeck/followers","following_url":"https://api.github.com/users/jkeck/following{/other_user}","gists_url":"https://api.github.com/users/jkeck/gists{/gist_id}","starred_url":"https://api.github.com/users/jkeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkeck/subscriptions","organizations_url":"https://api.github.com/users/jkeck/orgs","repos_url":"https://api.github.com/users/jkeck/repos","events_url":"https://api.github.com/users/jkeck/events{/privacy}","received_events_url":"https://api.github.com/users/jkeck/received_events","type":"User","site_admin":false},"body":"Perhaps the change to the definition of what the PURL object's title is should be in the PURL object model: https://github.com/sul-dlss/sul-embed/blob/master/app/models/embed/purl.rb#L10-L12","created_at":"2015-07-28T19:25:55Z","updated_at":"2015-07-28T19:25:55Z","html_url":"https://github.com/sul-dlss/sul-embed/pull/315#discussion_r35689409","pull_request_url":"https://api.github.com/repos/sul-dlss/sul-embed/pulls/315","_links":{"self":{"href":"https://api.github.com/repos/sul-dlss/sul-embed/pulls/comments/35689409"},"html":{"href":"https://github.com/sul-dlss/sul-embed/pull/315#discussion_r35689409"},"pull_request":{"href":"https://api.github.com/repos/sul-dlss/sul-embed/pulls/315"}}},"pull_request":{"url":"https://api.github.com/repos/sul-dlss/sul-embed/pulls/315","id":41048456,"html_url":"https://github.com/sul-dlss/sul-embed/pull/315","diff_url":"https://github.com/sul-dlss/sul-embed/pull/315.diff","patch_url":"https://github.com/sul-dlss/sul-embed/pull/315.patch","issue_url":"https://api.github.com/repos/sul-dlss/sul-embed/issues/315","number":315,"state":"open","locked":false,"title":"Read object title from dc:title instead of objectLabel","user":{"login":"aalsum","id":4116643,"avatar_url":"https://avatars.githubusercontent.com/u/4116643?v=3","gravatar_id":"","url":"https://api.github.com/users/aalsum","html_url":"https://github.com/aalsum","followers_url":"https://api.github.com/users/aalsum/followers","following_url":"https://api.github.com/users/aalsum/following{/other_user}","gists_url":"https://api.github.com/users/aalsum/gists{/gist_id}","starred_url":"https://api.github.com/users/aalsum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aalsum/subscriptions","organizations_url":"https://api.github.com/users/aalsum/orgs","repos_url":"https://api.github.com/users/aalsum/repos","events_url":"https://api.github.com/users/aalsum/events{/privacy}","received_events_url":"https://api.github.com/users/aalsum/received_events","type":"User","site_admin":false},"body":"Close #307 ","created_at":"2015-07-28T19:09:39Z","updated_at":"2015-07-28T19:25:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5161dd8053fc10b21aa1bea254a5f6ce90f5e8a2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sul-dlss/sul-embed/pulls/315/commits","review_comments_url":"https://api.github.com/repos/sul-dlss/sul-embed/pulls/315/comments","review_comment_url":"https://api.github.com/repos/sul-dlss/sul-embed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sul-dlss/sul-embed/issues/315/comments","statuses_url":"https://api.github.com/repos/sul-dlss/sul-embed/statuses/cc821a12327f078c32e3df7ea56bd1c9e2e2c16d","head":{"label":"sul-dlss:title_307","ref":"title_307","sha":"cc821a12327f078c32e3df7ea56bd1c9e2e2c16d","user":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars.githubusercontent.com/u/230583?v=3","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"repo":{"id":24868135,"name":"sul-embed","full_name":"sul-dlss/sul-embed","owner":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars.githubusercontent.com/u/230583?v=3","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sul-dlss/sul-embed","description":"An oEmbed Service for Stanford University Libraries","fork":false,"url":"https://api.github.com/repos/sul-dlss/sul-embed","forks_url":"https://api.github.com/repos/sul-dlss/sul-embed/forks","keys_url":"https://api.github.com/repos/sul-dlss/sul-embed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sul-dlss/sul-embed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sul-dlss/sul-embed/teams","hooks_url":"https://api.github.com/repos/sul-dlss/sul-embed/hooks","issue_events_url":"https://api.github.com/repos/sul-dlss/sul-embed/issues/events{/number}","events_url":"https://api.github.com/repos/sul-dlss/sul-embed/events","assignees_url":"https://api.github.com/repos/sul-dlss/sul-embed/assignees{/user}","branches_url":"https://api.github.com/repos/sul-dlss/sul-embed/branches{/branch}","tags_url":"https://api.github.com/repos/sul-dlss/sul-embed/tags","blobs_url":"https://api.github.com/repos/sul-dlss/sul-embed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sul-dlss/sul-embed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sul-dlss/sul-embed/git/refs{/sha}","trees_url":"https://api.github.com/repos/sul-dlss/sul-embed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sul-dlss/sul-embed/statuses/{sha}","languages_url":"https://api.github.com/repos/sul-dlss/sul-embed/languages","stargazers_url":"https://api.github.com/repos/sul-dlss/sul-embed/stargazers","contributors_url":"https://api.github.com/repos/sul-dlss/sul-embed/contributors","subscribers_url":"https://api.github.com/repos/sul-dlss/sul-embed/subscribers","subscription_url":"https://api.github.com/repos/sul-dlss/sul-embed/subscription","commits_url":"https://api.github.com/repos/sul-dlss/sul-embed/commits{/sha}","git_commits_url":"https://api.github.com/repos/sul-dlss/sul-embed/git/commits{/sha}","comments_url":"https://api.github.com/repos/sul-dlss/sul-embed/comments{/number}","issue_comment_url":"https://api.github.com/repos/sul-dlss/sul-embed/issues/comments{/number}","contents_url":"https://api.github.com/repos/sul-dlss/sul-embed/contents/{+path}","compare_url":"https://api.github.com/repos/sul-dlss/sul-embed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sul-dlss/sul-embed/merges","archive_url":"https://api.github.com/repos/sul-dlss/sul-embed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sul-dlss/sul-embed/downloads","issues_url":"https://api.github.com/repos/sul-dlss/sul-embed/issues{/number}","pulls_url":"https://api.github.com/repos/sul-dlss/sul-embed/pulls{/number}","milestones_url":"https://api.github.com/repos/sul-dlss/sul-embed/milestones{/number}","notifications_url":"https://api.github.com/repos/sul-dlss/sul-embed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sul-dlss/sul-embed/labels{/name}","releases_url":"https://api.github.com/repos/sul-dlss/sul-embed/releases{/id}","created_at":"2014-10-06T22:54:10Z","updated_at":"2015-07-20T15:02:15Z","pushed_at":"2015-07-28T19:25:20Z","git_url":"git://github.com/sul-dlss/sul-embed.git","ssh_url":"git@github.com:sul-dlss/sul-embed.git","clone_url":"https://github.com/sul-dlss/sul-embed.git","svn_url":"https://github.com/sul-dlss/sul-embed","homepage":null,"size":2636,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":63,"forks":0,"open_issues":63,"watchers":6,"default_branch":"master"}},"base":{"label":"sul-dlss:master","ref":"master","sha":"8a99b11363066c132528a91328c1ff6bae21fdf7","user":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars.githubusercontent.com/u/230583?v=3","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"repo":{"id":24868135,"name":"sul-embed","full_name":"sul-dlss/sul-embed","owner":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars.githubusercontent.com/u/230583?v=3","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sul-dlss/sul-embed","description":"An oEmbed Service for Stanford University Libraries","fork":false,"url":"https://api.github.com/repos/sul-dlss/sul-embed","forks_url":"https://api.github.com/repos/sul-dlss/sul-embed/forks","keys_url":"https://api.github.com/repos/sul-dlss/sul-embed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sul-dlss/sul-embed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sul-dlss/sul-embed/teams","hooks_url":"https://api.github.com/repos/sul-dlss/sul-embed/hooks","issue_events_url":"https://api.github.com/repos/sul-dlss/sul-embed/issues/events{/number}","events_url":"https://api.github.com/repos/sul-dlss/sul-embed/events","assignees_url":"https://api.github.com/repos/sul-dlss/sul-embed/assignees{/user}","branches_url":"https://api.github.com/repos/sul-dlss/sul-embed/branches{/branch}","tags_url":"https://api.github.com/repos/sul-dlss/sul-embed/tags","blobs_url":"https://api.github.com/repos/sul-dlss/sul-embed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sul-dlss/sul-embed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sul-dlss/sul-embed/git/refs{/sha}","trees_url":"https://api.github.com/repos/sul-dlss/sul-embed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sul-dlss/sul-embed/statuses/{sha}","languages_url":"https://api.github.com/repos/sul-dlss/sul-embed/languages","stargazers_url":"https://api.github.com/repos/sul-dlss/sul-embed/stargazers","contributors_url":"https://api.github.com/repos/sul-dlss/sul-embed/contributors","subscribers_url":"https://api.github.com/repos/sul-dlss/sul-embed/subscribers","subscription_url":"https://api.github.com/repos/sul-dlss/sul-embed/subscription","commits_url":"https://api.github.com/repos/sul-dlss/sul-embed/commits{/sha}","git_commits_url":"https://api.github.com/repos/sul-dlss/sul-embed/git/commits{/sha}","comments_url":"https://api.github.com/repos/sul-dlss/sul-embed/comments{/number}","issue_comment_url":"https://api.github.com/repos/sul-dlss/sul-embed/issues/comments{/number}","contents_url":"https://api.github.com/repos/sul-dlss/sul-embed/contents/{+path}","compare_url":"https://api.github.com/repos/sul-dlss/sul-embed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sul-dlss/sul-embed/merges","archive_url":"https://api.github.com/repos/sul-dlss/sul-embed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sul-dlss/sul-embed/downloads","issues_url":"https://api.github.com/repos/sul-dlss/sul-embed/issues{/number}","pulls_url":"https://api.github.com/repos/sul-dlss/sul-embed/pulls{/number}","milestones_url":"https://api.github.com/repos/sul-dlss/sul-embed/milestones{/number}","notifications_url":"https://api.github.com/repos/sul-dlss/sul-embed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sul-dlss/sul-embed/labels{/name}","releases_url":"https://api.github.com/repos/sul-dlss/sul-embed/releases{/id}","created_at":"2014-10-06T22:54:10Z","updated_at":"2015-07-20T15:02:15Z","pushed_at":"2015-07-28T19:25:20Z","git_url":"git://github.com/sul-dlss/sul-embed.git","ssh_url":"git@github.com:sul-dlss/sul-embed.git","clone_url":"https://github.com/sul-dlss/sul-embed.git","svn_url":"https://github.com/sul-dlss/sul-embed","homepage":null,"size":2636,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":63,"forks":0,"open_issues":63,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sul-dlss/sul-embed/pulls/315"},"html":{"href":"https://github.com/sul-dlss/sul-embed/pull/315"},"issue":{"href":"https://api.github.com/repos/sul-dlss/sul-embed/issues/315"},"comments":{"href":"https://api.github.com/repos/sul-dlss/sul-embed/issues/315/comments"},"review_comments":{"href":"https://api.github.com/repos/sul-dlss/sul-embed/pulls/315/comments"},"review_comment":{"href":"https://api.github.com/repos/sul-dlss/sul-embed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sul-dlss/sul-embed/pulls/315/commits"},"statuses":{"href":"https://api.github.com/repos/sul-dlss/sul-embed/statuses/cc821a12327f078c32e3df7ea56bd1c9e2e2c16d"}}}}