{"action":"created","comment":{"url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls/comments/77730449","id":77730449,"diff_hunk":"@@ -79,23 +79,63 @@\n       </a>\n   </xsl:template>\n   \n+  <xsl:template match=\"ref[@isbn]\">\n+    <xsl:variable name=\"maxauthors\" select=\"2\" />\n+    <xsl:variable name=\"ref\" select=\"document(concat('./tmp/ref_', ./@isbn, '.xml'))\" />\n+    \n+    <a href=\"#ref-{./@isbn}\" class=\"reference\">\n+      (<xsl:for-each select=\"$ref//authors/author\">","path":"layout.xsl","position":24,"original_position":24,"commit_id":"44deb543505b742022406d572082c6ce416e6a70","original_commit_id":"44deb543505b742022406d572082c6ce416e6a70","user":{"login":"ScalaWilliam","id":2464813,"avatar_url":"https://avatars.githubusercontent.com/u/2464813?v=3","gravatar_id":"","url":"https://api.github.com/users/ScalaWilliam","html_url":"https://github.com/ScalaWilliam","followers_url":"https://api.github.com/users/ScalaWilliam/followers","following_url":"https://api.github.com/users/ScalaWilliam/following{/other_user}","gists_url":"https://api.github.com/users/ScalaWilliam/gists{/gist_id}","starred_url":"https://api.github.com/users/ScalaWilliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScalaWilliam/subscriptions","organizations_url":"https://api.github.com/users/ScalaWilliam/orgs","repos_url":"https://api.github.com/users/ScalaWilliam/repos","events_url":"https://api.github.com/users/ScalaWilliam/events{/privacy}","received_events_url":"https://api.github.com/users/ScalaWilliam/received_events","type":"User","site_admin":false},"body":"should be able to use: ```xslt ($ref//authors/author)[1 to $maxauthors]```","created_at":"2016-09-06T22:27:25Z","updated_at":"2016-09-06T22:27:25Z","html_url":"https://github.com/lucasgautheron/CosmologyWebsite/pull/48#discussion_r77730449","pull_request_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls/comments/77730449"},"html":{"href":"https://github.com/lucasgautheron/CosmologyWebsite/pull/48#discussion_r77730449"},"pull_request":{"href":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls/48","id":84171989,"html_url":"https://github.com/lucasgautheron/CosmologyWebsite/pull/48","diff_url":"https://github.com/lucasgautheron/CosmologyWebsite/pull/48.diff","patch_url":"https://github.com/lucasgautheron/CosmologyWebsite/pull/48.patch","issue_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/issues/48","number":48,"state":"open","locked":false,"title":"ISBN ref support","user":{"login":"lucasgautheron","id":5359646,"avatar_url":"https://avatars.githubusercontent.com/u/5359646?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasgautheron","html_url":"https://github.com/lucasgautheron","followers_url":"https://api.github.com/users/lucasgautheron/followers","following_url":"https://api.github.com/users/lucasgautheron/following{/other_user}","gists_url":"https://api.github.com/users/lucasgautheron/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasgautheron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasgautheron/subscriptions","organizations_url":"https://api.github.com/users/lucasgautheron/orgs","repos_url":"https://api.github.com/users/lucasgautheron/repos","events_url":"https://api.github.com/users/lucasgautheron/events{/privacy}","received_events_url":"https://api.github.com/users/lucasgautheron/received_events","type":"User","site_admin":false},"body":"Closes #47 ","created_at":"2016-09-06T18:26:31Z","updated_at":"2016-09-06T22:27:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c94bf76ed15d955db49e5f4a05e1ab662d74b21e","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/milestones/2","html_url":"https://github.com/lucasgautheron/CosmologyWebsite/milestones/First%20public%20release","labels_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/milestones/2/labels","id":1888469,"number":2,"title":"First public release","description":"","creator":{"login":"lucasgautheron","id":5359646,"avatar_url":"https://avatars.githubusercontent.com/u/5359646?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasgautheron","html_url":"https://github.com/lucasgautheron","followers_url":"https://api.github.com/users/lucasgautheron/followers","following_url":"https://api.github.com/users/lucasgautheron/following{/other_user}","gists_url":"https://api.github.com/users/lucasgautheron/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasgautheron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasgautheron/subscriptions","organizations_url":"https://api.github.com/users/lucasgautheron/orgs","repos_url":"https://api.github.com/users/lucasgautheron/repos","events_url":"https://api.github.com/users/lucasgautheron/events{/privacy}","received_events_url":"https://api.github.com/users/lucasgautheron/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":21,"state":"open","created_at":"2016-07-18T01:15:42Z","updated_at":"2016-09-06T21:57:08Z","due_on":"2016-09-30T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls/48/commits","review_comments_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls/48/comments","review_comment_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/issues/48/comments","statuses_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/statuses/44deb543505b742022406d572082c6ce416e6a70","head":{"label":"lucasgautheron:isbn-references","ref":"isbn-references","sha":"44deb543505b742022406d572082c6ce416e6a70","user":{"login":"lucasgautheron","id":5359646,"avatar_url":"https://avatars.githubusercontent.com/u/5359646?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasgautheron","html_url":"https://github.com/lucasgautheron","followers_url":"https://api.github.com/users/lucasgautheron/followers","following_url":"https://api.github.com/users/lucasgautheron/following{/other_user}","gists_url":"https://api.github.com/users/lucasgautheron/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasgautheron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasgautheron/subscriptions","organizations_url":"https://api.github.com/users/lucasgautheron/orgs","repos_url":"https://api.github.com/users/lucasgautheron/repos","events_url":"https://api.github.com/users/lucasgautheron/events{/privacy}","received_events_url":"https://api.github.com/users/lucasgautheron/received_events","type":"User","site_admin":false},"repo":{"id":63559684,"name":"CosmologyWebsite","full_name":"lucasgautheron/CosmologyWebsite","owner":{"login":"lucasgautheron","id":5359646,"avatar_url":"https://avatars.githubusercontent.com/u/5359646?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasgautheron","html_url":"https://github.com/lucasgautheron","followers_url":"https://api.github.com/users/lucasgautheron/followers","following_url":"https://api.github.com/users/lucasgautheron/following{/other_user}","gists_url":"https://api.github.com/users/lucasgautheron/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasgautheron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasgautheron/subscriptions","organizations_url":"https://api.github.com/users/lucasgautheron/orgs","repos_url":"https://api.github.com/users/lucasgautheron/repos","events_url":"https://api.github.com/users/lucasgautheron/events{/privacy}","received_events_url":"https://api.github.com/users/lucasgautheron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucasgautheron/CosmologyWebsite","description":"Website presenting the history of modern cosmology","fork":false,"url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite","forks_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/forks","keys_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/teams","hooks_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/hooks","issue_events_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/issues/events{/number}","events_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/events","assignees_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/assignees{/user}","branches_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/branches{/branch}","tags_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/tags","blobs_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/statuses/{sha}","languages_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/languages","stargazers_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/stargazers","contributors_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/contributors","subscribers_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/subscribers","subscription_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/subscription","commits_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/contents/{+path}","compare_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/merges","archive_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/downloads","issues_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/issues{/number}","pulls_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls{/number}","milestones_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/milestones{/number}","notifications_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/labels{/name}","releases_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/releases{/id}","deployments_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/deployments","created_at":"2016-07-18T00:57:14Z","updated_at":"2016-08-08T09:39:53Z","pushed_at":"2016-09-06T21:57:08Z","git_url":"git://github.com/lucasgautheron/CosmologyWebsite.git","ssh_url":"git@github.com:lucasgautheron/CosmologyWebsite.git","clone_url":"https://github.com/lucasgautheron/CosmologyWebsite.git","svn_url":"https://github.com/lucasgautheron/CosmologyWebsite","homepage":null,"size":87766,"stargazers_count":2,"watchers_count":2,"language":"XSLT","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":18,"forks":1,"open_issues":18,"watchers":2,"default_branch":"master"}},"base":{"label":"lucasgautheron:master","ref":"master","sha":"2382948dc2cc6a728b1760e0ed0641be0d260288","user":{"login":"lucasgautheron","id":5359646,"avatar_url":"https://avatars.githubusercontent.com/u/5359646?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasgautheron","html_url":"https://github.com/lucasgautheron","followers_url":"https://api.github.com/users/lucasgautheron/followers","following_url":"https://api.github.com/users/lucasgautheron/following{/other_user}","gists_url":"https://api.github.com/users/lucasgautheron/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasgautheron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasgautheron/subscriptions","organizations_url":"https://api.github.com/users/lucasgautheron/orgs","repos_url":"https://api.github.com/users/lucasgautheron/repos","events_url":"https://api.github.com/users/lucasgautheron/events{/privacy}","received_events_url":"https://api.github.com/users/lucasgautheron/received_events","type":"User","site_admin":false},"repo":{"id":63559684,"name":"CosmologyWebsite","full_name":"lucasgautheron/CosmologyWebsite","owner":{"login":"lucasgautheron","id":5359646,"avatar_url":"https://avatars.githubusercontent.com/u/5359646?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasgautheron","html_url":"https://github.com/lucasgautheron","followers_url":"https://api.github.com/users/lucasgautheron/followers","following_url":"https://api.github.com/users/lucasgautheron/following{/other_user}","gists_url":"https://api.github.com/users/lucasgautheron/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasgautheron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasgautheron/subscriptions","organizations_url":"https://api.github.com/users/lucasgautheron/orgs","repos_url":"https://api.github.com/users/lucasgautheron/repos","events_url":"https://api.github.com/users/lucasgautheron/events{/privacy}","received_events_url":"https://api.github.com/users/lucasgautheron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucasgautheron/CosmologyWebsite","description":"Website presenting the history of modern cosmology","fork":false,"url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite","forks_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/forks","keys_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/teams","hooks_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/hooks","issue_events_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/issues/events{/number}","events_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/events","assignees_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/assignees{/user}","branches_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/branches{/branch}","tags_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/tags","blobs_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/statuses/{sha}","languages_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/languages","stargazers_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/stargazers","contributors_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/contributors","subscribers_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/subscribers","subscription_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/subscription","commits_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/contents/{+path}","compare_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/merges","archive_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/downloads","issues_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/issues{/number}","pulls_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls{/number}","milestones_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/milestones{/number}","notifications_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/labels{/name}","releases_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/releases{/id}","deployments_url":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/deployments","created_at":"2016-07-18T00:57:14Z","updated_at":"2016-08-08T09:39:53Z","pushed_at":"2016-09-06T21:57:08Z","git_url":"git://github.com/lucasgautheron/CosmologyWebsite.git","ssh_url":"git@github.com:lucasgautheron/CosmologyWebsite.git","clone_url":"https://github.com/lucasgautheron/CosmologyWebsite.git","svn_url":"https://github.com/lucasgautheron/CosmologyWebsite","homepage":null,"size":87766,"stargazers_count":2,"watchers_count":2,"language":"XSLT","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":18,"forks":1,"open_issues":18,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls/48"},"html":{"href":"https://github.com/lucasgautheron/CosmologyWebsite/pull/48"},"issue":{"href":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/issues/48"},"comments":{"href":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/lucasgautheron/CosmologyWebsite/statuses/44deb543505b742022406d572082c6ce416e6a70"}}}}
{"actor":{"display_login":"ScalaWilliam"}}