{"action":"opened","number":1609,"pull_request":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1609","id":76748407,"html_url":"https://github.com/geonetwork/core-geonetwork/pull/1609","diff_url":"https://github.com/geonetwork/core-geonetwork/pull/1609.diff","patch_url":"https://github.com/geonetwork/core-geonetwork/pull/1609.patch","issue_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1609","number":1609,"state":"open","locked":false,"title":"Add schema.org tags in xsl formatter.","user":{"login":"fxprunayre","id":1701393,"avatar_url":"https://avatars.githubusercontent.com/u/1701393?v=3","gravatar_id":"","url":"https://api.github.com/users/fxprunayre","html_url":"https://github.com/fxprunayre","followers_url":"https://api.github.com/users/fxprunayre/followers","following_url":"https://api.github.com/users/fxprunayre/following{/other_user}","gists_url":"https://api.github.com/users/fxprunayre/gists{/gist_id}","starred_url":"https://api.github.com/users/fxprunayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxprunayre/subscriptions","organizations_url":"https://api.github.com/users/fxprunayre/orgs","repos_url":"https://api.github.com/users/fxprunayre/repos","events_url":"https://api.github.com/users/fxprunayre/events{/privacy}","received_events_url":"https://api.github.com/users/fxprunayre/received_events","type":"User","site_admin":false},"body":"This is a replacer for https://github.com/geonetwork/core-geonetwork/pull/1511\r\n\r\nIt does not create a new formatter but instead improve the existing XSL formatter based on editor-config.xsl for rendering a record. The formatter now provide schema.org tags.\r\n\r\neg.\r\n* get record as full HTML page\r\nhttp://localhost:8080/geonetwork/srv/api/records/da165110-88fd-11da-a88f-000d939bc5d8/formatters/xsl-view\r\n* get record as a DIV snippet to be emebedded in a page (eg. Angular app)\r\nhttp://localhost:8080/geonetwork/srv/api/records/da165110-88fd-11da-a88f-000d939bc5d8/formatters/xsl-view?root=div&view=advanced\r\n\r\nThe formatter is also bind to the nojs XSL template for header and footer to make layout more similar in all HTML pages.\r\n\r\n@pvgenuchten , if you could have a look before merging that would be good, I tried to pick up all the changes made in #1511 but would be good to have a double check ? I also added some FIXME to be addressed later. It would be good if someone can improve the CSS of the XSL formatter so we provide a good default - like the one you show me in Bolsena with a map on top (@MichelGabriel maybe ?)","created_at":"2016-07-08T12:56:16Z","updated_at":"2016-07-08T12:56:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones/16","html_url":"https://github.com/geonetwork/core-geonetwork/milestones/3.2.0","labels_url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones/16/labels","id":1087422,"number":16,"title":"3.2.0","description":"","creator":{"login":"fxprunayre","id":1701393,"avatar_url":"https://avatars.githubusercontent.com/u/1701393?v=3","gravatar_id":"","url":"https://api.github.com/users/fxprunayre","html_url":"https://github.com/fxprunayre","followers_url":"https://api.github.com/users/fxprunayre/followers","following_url":"https://api.github.com/users/fxprunayre/following{/other_user}","gists_url":"https://api.github.com/users/fxprunayre/gists{/gist_id}","starred_url":"https://api.github.com/users/fxprunayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxprunayre/subscriptions","organizations_url":"https://api.github.com/users/fxprunayre/orgs","repos_url":"https://api.github.com/users/fxprunayre/repos","events_url":"https://api.github.com/users/fxprunayre/events{/privacy}","received_events_url":"https://api.github.com/users/fxprunayre/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":93,"state":"open","created_at":"2015-04-28T13:10:33Z","updated_at":"2016-07-08T12:56:17Z","due_on":"2016-08-23T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1609/commits","review_comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1609/comments","review_comment_url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1609/comments","statuses_url":"https://api.github.com/repos/geonetwork/core-geonetwork/statuses/ae6f49cc73a5ce9979adaaadb54d714f9152a00a","head":{"label":"fxprunayre:improvement/schema.org","ref":"improvement/schema.org","sha":"ae6f49cc73a5ce9979adaaadb54d714f9152a00a","user":{"login":"fxprunayre","id":1701393,"avatar_url":"https://avatars.githubusercontent.com/u/1701393?v=3","gravatar_id":"","url":"https://api.github.com/users/fxprunayre","html_url":"https://github.com/fxprunayre","followers_url":"https://api.github.com/users/fxprunayre/followers","following_url":"https://api.github.com/users/fxprunayre/following{/other_user}","gists_url":"https://api.github.com/users/fxprunayre/gists{/gist_id}","starred_url":"https://api.github.com/users/fxprunayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxprunayre/subscriptions","organizations_url":"https://api.github.com/users/fxprunayre/orgs","repos_url":"https://api.github.com/users/fxprunayre/repos","events_url":"https://api.github.com/users/fxprunayre/events{/privacy}","received_events_url":"https://api.github.com/users/fxprunayre/received_events","type":"User","site_admin":false},"repo":{"id":4671699,"name":"core-geonetwork","full_name":"fxprunayre/core-geonetwork","owner":{"login":"fxprunayre","id":1701393,"avatar_url":"https://avatars.githubusercontent.com/u/1701393?v=3","gravatar_id":"","url":"https://api.github.com/users/fxprunayre","html_url":"https://github.com/fxprunayre","followers_url":"https://api.github.com/users/fxprunayre/followers","following_url":"https://api.github.com/users/fxprunayre/following{/other_user}","gists_url":"https://api.github.com/users/fxprunayre/gists{/gist_id}","starred_url":"https://api.github.com/users/fxprunayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxprunayre/subscriptions","organizations_url":"https://api.github.com/users/fxprunayre/orgs","repos_url":"https://api.github.com/users/fxprunayre/repos","events_url":"https://api.github.com/users/fxprunayre/events{/privacy}","received_events_url":"https://api.github.com/users/fxprunayre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fxprunayre/core-geonetwork","description":"","fork":true,"url":"https://api.github.com/repos/fxprunayre/core-geonetwork","forks_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/forks","keys_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/teams","hooks_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/hooks","issue_events_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/issues/events{/number}","events_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/events","assignees_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/assignees{/user}","branches_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/branches{/branch}","tags_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/tags","blobs_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/languages","stargazers_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/stargazers","contributors_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/contributors","subscribers_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/subscribers","subscription_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/subscription","commits_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/contents/{+path}","compare_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/merges","archive_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/downloads","issues_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/issues{/number}","pulls_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/labels{/name}","releases_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/releases{/id}","deployments_url":"https://api.github.com/repos/fxprunayre/core-geonetwork/deployments","created_at":"2012-06-15T05:14:17Z","updated_at":"2014-06-10T11:13:25Z","pushed_at":"2016-07-08T12:49:40Z","git_url":"git://github.com/fxprunayre/core-geonetwork.git","ssh_url":"git@github.com:fxprunayre/core-geonetwork.git","clone_url":"https://github.com/fxprunayre/core-geonetwork.git","svn_url":"https://github.com/fxprunayre/core-geonetwork","homepage":null,"size":240405,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"geonetwork:develop","ref":"develop","sha":"9c14f1a8e6497eccf676e70b5b3029053c701e5b","user":{"login":"geonetwork","id":1842442,"avatar_url":"https://avatars.githubusercontent.com/u/1842442?v=3","gravatar_id":"","url":"https://api.github.com/users/geonetwork","html_url":"https://github.com/geonetwork","followers_url":"https://api.github.com/users/geonetwork/followers","following_url":"https://api.github.com/users/geonetwork/following{/other_user}","gists_url":"https://api.github.com/users/geonetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/geonetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geonetwork/subscriptions","organizations_url":"https://api.github.com/users/geonetwork/orgs","repos_url":"https://api.github.com/users/geonetwork/repos","events_url":"https://api.github.com/users/geonetwork/events{/privacy}","received_events_url":"https://api.github.com/users/geonetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":4661744,"name":"core-geonetwork","full_name":"geonetwork/core-geonetwork","owner":{"login":"geonetwork","id":1842442,"avatar_url":"https://avatars.githubusercontent.com/u/1842442?v=3","gravatar_id":"","url":"https://api.github.com/users/geonetwork","html_url":"https://github.com/geonetwork","followers_url":"https://api.github.com/users/geonetwork/followers","following_url":"https://api.github.com/users/geonetwork/following{/other_user}","gists_url":"https://api.github.com/users/geonetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/geonetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geonetwork/subscriptions","organizations_url":"https://api.github.com/users/geonetwork/orgs","repos_url":"https://api.github.com/users/geonetwork/repos","events_url":"https://api.github.com/users/geonetwork/events{/privacy}","received_events_url":"https://api.github.com/users/geonetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geonetwork/core-geonetwork","description":"GeoNetwork repository","fork":false,"url":"https://api.github.com/repos/geonetwork/core-geonetwork","forks_url":"https://api.github.com/repos/geonetwork/core-geonetwork/forks","keys_url":"https://api.github.com/repos/geonetwork/core-geonetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geonetwork/core-geonetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geonetwork/core-geonetwork/teams","hooks_url":"https://api.github.com/repos/geonetwork/core-geonetwork/hooks","issue_events_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/events{/number}","events_url":"https://api.github.com/repos/geonetwork/core-geonetwork/events","assignees_url":"https://api.github.com/repos/geonetwork/core-geonetwork/assignees{/user}","branches_url":"https://api.github.com/repos/geonetwork/core-geonetwork/branches{/branch}","tags_url":"https://api.github.com/repos/geonetwork/core-geonetwork/tags","blobs_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geonetwork/core-geonetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/geonetwork/core-geonetwork/languages","stargazers_url":"https://api.github.com/repos/geonetwork/core-geonetwork/stargazers","contributors_url":"https://api.github.com/repos/geonetwork/core-geonetwork/contributors","subscribers_url":"https://api.github.com/repos/geonetwork/core-geonetwork/subscribers","subscription_url":"https://api.github.com/repos/geonetwork/core-geonetwork/subscription","commits_url":"https://api.github.com/repos/geonetwork/core-geonetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/geonetwork/core-geonetwork/contents/{+path}","compare_url":"https://api.github.com/repos/geonetwork/core-geonetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geonetwork/core-geonetwork/merges","archive_url":"https://api.github.com/repos/geonetwork/core-geonetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geonetwork/core-geonetwork/downloads","issues_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues{/number}","pulls_url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/geonetwork/core-geonetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geonetwork/core-geonetwork/labels{/name}","releases_url":"https://api.github.com/repos/geonetwork/core-geonetwork/releases{/id}","deployments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/deployments","created_at":"2012-06-14T09:59:55Z","updated_at":"2016-06-23T21:13:53Z","pushed_at":"2016-07-08T10:46:32Z","git_url":"git://github.com/geonetwork/core-geonetwork.git","ssh_url":"git@github.com:geonetwork/core-geonetwork.git","clone_url":"https://github.com/geonetwork/core-geonetwork.git","svn_url":"https://github.com/geonetwork/core-geonetwork","homepage":"http://geonetwork-opensource.org/","size":285727,"stargazers_count":107,"watchers_count":107,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":218,"mirror_url":null,"open_issues_count":129,"forks":218,"open_issues":129,"watchers":107,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1609"},"html":{"href":"https://github.com/geonetwork/core-geonetwork/pull/1609"},"issue":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1609"},"comments":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1609/comments"},"review_comments":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1609/comments"},"review_comment":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1609/commits"},"statuses":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/statuses/ae6f49cc73a5ce9979adaaadb54d714f9152a00a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":250,"deletions":72,"changed_files":12}}
{"actor":{"display_login":"fxprunayre"}}