{"action":"opened","number":6553,"pull_request":{"url":"https://api.github.com/repos/TryGhost/Ghost/pulls/6553","id":60051994,"html_url":"https://github.com/TryGhost/Ghost/pull/6553","diff_url":"https://github.com/TryGhost/Ghost/pull/6553.diff","patch_url":"https://github.com/TryGhost/Ghost/pull/6553.patch","issue_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6553","number":6553,"state":"open","locked":false,"title":"Strutured data: Slack Unfurls & published_at fix","user":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"body":"![](http://puu.sh/neWQt.png)\r\n\r\nThis adds twitter labels as defined in #6534, which improve the slack unfurls.\r\n\r\nIt also fixes a bug with `published_at` - it was falling back to the `created_at` date. This is incorrect for meta data, and also causes incorrect published_at dates to be output in the meta data for authors & tags.\r\n\r\nrefs #6534 \r\n\r\n- fixes a bug where published_at was incorrectly falling back to the created_at date\r\n- updated meta index to get author name\r\n- add written by & published labels + data if the values are present (only on posts/pages)\r\n- updated tests","created_at":"2016-02-20T16:04:47Z","updated_at":"2016-02-20T16:04:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TryGhost/Ghost/pulls/6553/commits","review_comments_url":"https://api.github.com/repos/TryGhost/Ghost/pulls/6553/comments","review_comment_url":"https://api.github.com/repos/TryGhost/Ghost/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6553/comments","statuses_url":"https://api.github.com/repos/TryGhost/Ghost/statuses/678078563476b6c956ada939e53262bc8291bccd","head":{"label":"ErisDS:slack-unfurls","ref":"slack-unfurls","sha":"678078563476b6c956ada939e53262bc8291bccd","user":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"repo":{"id":9861074,"name":"Ghost","full_name":"ErisDS/Ghost","owner":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ErisDS/Ghost","description":"","fork":true,"url":"https://api.github.com/repos/ErisDS/Ghost","forks_url":"https://api.github.com/repos/ErisDS/Ghost/forks","keys_url":"https://api.github.com/repos/ErisDS/Ghost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ErisDS/Ghost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ErisDS/Ghost/teams","hooks_url":"https://api.github.com/repos/ErisDS/Ghost/hooks","issue_events_url":"https://api.github.com/repos/ErisDS/Ghost/issues/events{/number}","events_url":"https://api.github.com/repos/ErisDS/Ghost/events","assignees_url":"https://api.github.com/repos/ErisDS/Ghost/assignees{/user}","branches_url":"https://api.github.com/repos/ErisDS/Ghost/branches{/branch}","tags_url":"https://api.github.com/repos/ErisDS/Ghost/tags","blobs_url":"https://api.github.com/repos/ErisDS/Ghost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ErisDS/Ghost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ErisDS/Ghost/git/refs{/sha}","trees_url":"https://api.github.com/repos/ErisDS/Ghost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ErisDS/Ghost/statuses/{sha}","languages_url":"https://api.github.com/repos/ErisDS/Ghost/languages","stargazers_url":"https://api.github.com/repos/ErisDS/Ghost/stargazers","contributors_url":"https://api.github.com/repos/ErisDS/Ghost/contributors","subscribers_url":"https://api.github.com/repos/ErisDS/Ghost/subscribers","subscription_url":"https://api.github.com/repos/ErisDS/Ghost/subscription","commits_url":"https://api.github.com/repos/ErisDS/Ghost/commits{/sha}","git_commits_url":"https://api.github.com/repos/ErisDS/Ghost/git/commits{/sha}","comments_url":"https://api.github.com/repos/ErisDS/Ghost/comments{/number}","issue_comment_url":"https://api.github.com/repos/ErisDS/Ghost/issues/comments{/number}","contents_url":"https://api.github.com/repos/ErisDS/Ghost/contents/{+path}","compare_url":"https://api.github.com/repos/ErisDS/Ghost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ErisDS/Ghost/merges","archive_url":"https://api.github.com/repos/ErisDS/Ghost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ErisDS/Ghost/downloads","issues_url":"https://api.github.com/repos/ErisDS/Ghost/issues{/number}","pulls_url":"https://api.github.com/repos/ErisDS/Ghost/pulls{/number}","milestones_url":"https://api.github.com/repos/ErisDS/Ghost/milestones{/number}","notifications_url":"https://api.github.com/repos/ErisDS/Ghost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ErisDS/Ghost/labels{/name}","releases_url":"https://api.github.com/repos/ErisDS/Ghost/releases{/id}","deployments_url":"https://api.github.com/repos/ErisDS/Ghost/deployments","created_at":"2013-05-04T22:14:46Z","updated_at":"2016-02-18T09:28:50Z","pushed_at":"2016-02-20T15:59:46Z","git_url":"git://github.com/ErisDS/Ghost.git","ssh_url":"git@github.com:ErisDS/Ghost.git","clone_url":"https://github.com/ErisDS/Ghost.git","svn_url":"https://github.com/ErisDS/Ghost","homepage":null,"size":19459,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":16,"default_branch":"master"}},"base":{"label":"TryGhost:master","ref":"master","sha":"6bbcbab3f3d28bca3c608fec3b155eedc4589a07","user":{"login":"TryGhost","id":2178663,"avatar_url":"https://avatars.githubusercontent.com/u/2178663?v=3","gravatar_id":"","url":"https://api.github.com/users/TryGhost","html_url":"https://github.com/TryGhost","followers_url":"https://api.github.com/users/TryGhost/followers","following_url":"https://api.github.com/users/TryGhost/following{/other_user}","gists_url":"https://api.github.com/users/TryGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/TryGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TryGhost/subscriptions","organizations_url":"https://api.github.com/users/TryGhost/orgs","repos_url":"https://api.github.com/users/TryGhost/repos","events_url":"https://api.github.com/users/TryGhost/events{/privacy}","received_events_url":"https://api.github.com/users/TryGhost/received_events","type":"Organization","site_admin":false},"repo":{"id":9852918,"name":"Ghost","full_name":"TryGhost/Ghost","owner":{"login":"TryGhost","id":2178663,"avatar_url":"https://avatars.githubusercontent.com/u/2178663?v=3","gravatar_id":"","url":"https://api.github.com/users/TryGhost","html_url":"https://github.com/TryGhost","followers_url":"https://api.github.com/users/TryGhost/followers","following_url":"https://api.github.com/users/TryGhost/following{/other_user}","gists_url":"https://api.github.com/users/TryGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/TryGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TryGhost/subscriptions","organizations_url":"https://api.github.com/users/TryGhost/orgs","repos_url":"https://api.github.com/users/TryGhost/repos","events_url":"https://api.github.com/users/TryGhost/events{/privacy}","received_events_url":"https://api.github.com/users/TryGhost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TryGhost/Ghost","description":"Just a blogging platform","fork":false,"url":"https://api.github.com/repos/TryGhost/Ghost","forks_url":"https://api.github.com/repos/TryGhost/Ghost/forks","keys_url":"https://api.github.com/repos/TryGhost/Ghost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TryGhost/Ghost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TryGhost/Ghost/teams","hooks_url":"https://api.github.com/repos/TryGhost/Ghost/hooks","issue_events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/events{/number}","events_url":"https://api.github.com/repos/TryGhost/Ghost/events","assignees_url":"https://api.github.com/repos/TryGhost/Ghost/assignees{/user}","branches_url":"https://api.github.com/repos/TryGhost/Ghost/branches{/branch}","tags_url":"https://api.github.com/repos/TryGhost/Ghost/tags","blobs_url":"https://api.github.com/repos/TryGhost/Ghost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TryGhost/Ghost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TryGhost/Ghost/git/refs{/sha}","trees_url":"https://api.github.com/repos/TryGhost/Ghost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TryGhost/Ghost/statuses/{sha}","languages_url":"https://api.github.com/repos/TryGhost/Ghost/languages","stargazers_url":"https://api.github.com/repos/TryGhost/Ghost/stargazers","contributors_url":"https://api.github.com/repos/TryGhost/Ghost/contributors","subscribers_url":"https://api.github.com/repos/TryGhost/Ghost/subscribers","subscription_url":"https://api.github.com/repos/TryGhost/Ghost/subscription","commits_url":"https://api.github.com/repos/TryGhost/Ghost/commits{/sha}","git_commits_url":"https://api.github.com/repos/TryGhost/Ghost/git/commits{/sha}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/comments{/number}","issue_comment_url":"https://api.github.com/repos/TryGhost/Ghost/issues/comments{/number}","contents_url":"https://api.github.com/repos/TryGhost/Ghost/contents/{+path}","compare_url":"https://api.github.com/repos/TryGhost/Ghost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TryGhost/Ghost/merges","archive_url":"https://api.github.com/repos/TryGhost/Ghost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TryGhost/Ghost/downloads","issues_url":"https://api.github.com/repos/TryGhost/Ghost/issues{/number}","pulls_url":"https://api.github.com/repos/TryGhost/Ghost/pulls{/number}","milestones_url":"https://api.github.com/repos/TryGhost/Ghost/milestones{/number}","notifications_url":"https://api.github.com/repos/TryGhost/Ghost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TryGhost/Ghost/labels{/name}","releases_url":"https://api.github.com/repos/TryGhost/Ghost/releases{/id}","deployments_url":"https://api.github.com/repos/TryGhost/Ghost/deployments","created_at":"2013-05-04T11:09:13Z","updated_at":"2016-02-20T12:05:44Z","pushed_at":"2016-02-20T13:38:57Z","git_url":"git://github.com/TryGhost/Ghost.git","ssh_url":"git@github.com:TryGhost/Ghost.git","clone_url":"https://github.com/TryGhost/Ghost.git","svn_url":"https://github.com/TryGhost/Ghost","homepage":"https://ghost.org","size":50249,"stargazers_count":18554,"watchers_count":18554,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4587,"mirror_url":null,"open_issues_count":203,"forks":4587,"open_issues":203,"watchers":18554,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/6553"},"html":{"href":"https://github.com/TryGhost/Ghost/pull/6553"},"issue":{"href":"https://api.github.com/repos/TryGhost/Ghost/issues/6553"},"comments":{"href":"https://api.github.com/repos/TryGhost/Ghost/issues/6553/comments"},"review_comments":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/6553/comments"},"review_comment":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/6553/commits"},"statuses":{"href":"https://api.github.com/repos/TryGhost/Ghost/statuses/678078563476b6c956ada939e53262bc8291bccd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":25,"changed_files":5}}