{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/pulls/3","id":77410953,"html_url":"https://github.com/kata-csc/ckanext-sitemap/pull/3","diff_url":"https://github.com/kata-csc/ckanext-sitemap/pull/3.diff","patch_url":"https://github.com/kata-csc/ckanext-sitemap/pull/3.patch","issue_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/issues/3","number":3,"state":"open","locked":false,"title":"Fix multiple issues in sitemap generation","user":{"login":"torfsen","id":2877717,"avatar_url":"https://avatars.githubusercontent.com/u/2877717?v=3","gravatar_id":"","url":"https://api.github.com/users/torfsen","html_url":"https://github.com/torfsen","followers_url":"https://api.github.com/users/torfsen/followers","following_url":"https://api.github.com/users/torfsen/following{/other_user}","gists_url":"https://api.github.com/users/torfsen/gists{/gist_id}","starred_url":"https://api.github.com/users/torfsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torfsen/subscriptions","organizations_url":"https://api.github.com/users/torfsen/orgs","repos_url":"https://api.github.com/users/torfsen/repos","events_url":"https://api.github.com/users/torfsen/events{/privacy}","received_events_url":"https://api.github.com/users/torfsen/received_events","type":"User","site_admin":false},"body":"This PR fixes multiple issues w.r.t. sitemap generation and locales:\r\n\r\n- Omit locale code from default locale (use canonical URL)\r\n\r\n- Add a separate `<url>` element for each locale and URL, see https://support.google.com/webmasters/answer/2620865.\r\n\r\n- Use `ckan.lib.helpers.url_for` to construct URLs so that the [`ckan.root_path`](http://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-root-path) setting is taken into account.\r\n\r\nBy the way, running the tests against CKAN's `master` fails because the tests have been reorganized in CKAN core. You might want to consider setting up a CI account (e.g. on Travis or CircleCI) to continuously test against CKAN's `master`.","created_at":"2016-07-14T07:26:22Z","updated_at":"2016-07-14T07:26:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43c82094d11688ffdc2a869b60b2c05bf75f99da","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/pulls/3/commits","review_comments_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/pulls/3/comments","review_comment_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/issues/3/comments","statuses_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/statuses/67520b723151d71e0ddd6415bd13b29ab369df23","head":{"label":"torfsen:fix-language-alternatives","ref":"fix-language-alternatives","sha":"67520b723151d71e0ddd6415bd13b29ab369df23","user":{"login":"torfsen","id":2877717,"avatar_url":"https://avatars.githubusercontent.com/u/2877717?v=3","gravatar_id":"","url":"https://api.github.com/users/torfsen","html_url":"https://github.com/torfsen","followers_url":"https://api.github.com/users/torfsen/followers","following_url":"https://api.github.com/users/torfsen/following{/other_user}","gists_url":"https://api.github.com/users/torfsen/gists{/gist_id}","starred_url":"https://api.github.com/users/torfsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torfsen/subscriptions","organizations_url":"https://api.github.com/users/torfsen/orgs","repos_url":"https://api.github.com/users/torfsen/repos","events_url":"https://api.github.com/users/torfsen/events{/privacy}","received_events_url":"https://api.github.com/users/torfsen/received_events","type":"User","site_admin":false},"repo":{"id":63308145,"name":"ckanext-sitemap","full_name":"torfsen/ckanext-sitemap","owner":{"login":"torfsen","id":2877717,"avatar_url":"https://avatars.githubusercontent.com/u/2877717?v=3","gravatar_id":"","url":"https://api.github.com/users/torfsen","html_url":"https://github.com/torfsen","followers_url":"https://api.github.com/users/torfsen/followers","following_url":"https://api.github.com/users/torfsen/following{/other_user}","gists_url":"https://api.github.com/users/torfsen/gists{/gist_id}","starred_url":"https://api.github.com/users/torfsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torfsen/subscriptions","organizations_url":"https://api.github.com/users/torfsen/orgs","repos_url":"https://api.github.com/users/torfsen/repos","events_url":"https://api.github.com/users/torfsen/events{/privacy}","received_events_url":"https://api.github.com/users/torfsen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/torfsen/ckanext-sitemap","description":"Sitemap search engine support for CKAN","fork":true,"url":"https://api.github.com/repos/torfsen/ckanext-sitemap","forks_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/forks","keys_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/teams","hooks_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/hooks","issue_events_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/issues/events{/number}","events_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/events","assignees_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/assignees{/user}","branches_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/branches{/branch}","tags_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/tags","blobs_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/git/refs{/sha}","trees_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/statuses/{sha}","languages_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/languages","stargazers_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/stargazers","contributors_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/contributors","subscribers_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/subscribers","subscription_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/subscription","commits_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/commits{/sha}","git_commits_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/git/commits{/sha}","comments_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/comments{/number}","issue_comment_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/issues/comments{/number}","contents_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/contents/{+path}","compare_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/merges","archive_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/downloads","issues_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/issues{/number}","pulls_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/pulls{/number}","milestones_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/milestones{/number}","notifications_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/labels{/name}","releases_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/releases{/id}","deployments_url":"https://api.github.com/repos/torfsen/ckanext-sitemap/deployments","created_at":"2016-07-14T06:22:26Z","updated_at":"2016-07-14T06:22:32Z","pushed_at":"2016-07-14T07:19:09Z","git_url":"git://github.com/torfsen/ckanext-sitemap.git","ssh_url":"git@github.com:torfsen/ckanext-sitemap.git","clone_url":"https://github.com/torfsen/ckanext-sitemap.git","svn_url":"https://github.com/torfsen/ckanext-sitemap","homepage":null,"size":112,"stargazers_count":1,"watchers_count":1,"language":"Python","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":"kata-csc:master","ref":"master","sha":"376db873fe93717e210909e7f9e10c25df572833","user":{"login":"kata-csc","id":2283671,"avatar_url":"https://avatars.githubusercontent.com/u/2283671?v=3","gravatar_id":"","url":"https://api.github.com/users/kata-csc","html_url":"https://github.com/kata-csc","followers_url":"https://api.github.com/users/kata-csc/followers","following_url":"https://api.github.com/users/kata-csc/following{/other_user}","gists_url":"https://api.github.com/users/kata-csc/gists{/gist_id}","starred_url":"https://api.github.com/users/kata-csc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kata-csc/subscriptions","organizations_url":"https://api.github.com/users/kata-csc/orgs","repos_url":"https://api.github.com/users/kata-csc/repos","events_url":"https://api.github.com/users/kata-csc/events{/privacy}","received_events_url":"https://api.github.com/users/kata-csc/received_events","type":"Organization","site_admin":false},"repo":{"id":5684943,"name":"ckanext-sitemap","full_name":"kata-csc/ckanext-sitemap","owner":{"login":"kata-csc","id":2283671,"avatar_url":"https://avatars.githubusercontent.com/u/2283671?v=3","gravatar_id":"","url":"https://api.github.com/users/kata-csc","html_url":"https://github.com/kata-csc","followers_url":"https://api.github.com/users/kata-csc/followers","following_url":"https://api.github.com/users/kata-csc/following{/other_user}","gists_url":"https://api.github.com/users/kata-csc/gists{/gist_id}","starred_url":"https://api.github.com/users/kata-csc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kata-csc/subscriptions","organizations_url":"https://api.github.com/users/kata-csc/orgs","repos_url":"https://api.github.com/users/kata-csc/repos","events_url":"https://api.github.com/users/kata-csc/events{/privacy}","received_events_url":"https://api.github.com/users/kata-csc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kata-csc/ckanext-sitemap","description":"Sitemap search engine support for CKAN","fork":false,"url":"https://api.github.com/repos/kata-csc/ckanext-sitemap","forks_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/forks","keys_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/teams","hooks_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/hooks","issue_events_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/issues/events{/number}","events_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/events","assignees_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/assignees{/user}","branches_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/branches{/branch}","tags_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/tags","blobs_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/git/refs{/sha}","trees_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/statuses/{sha}","languages_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/languages","stargazers_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/stargazers","contributors_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/contributors","subscribers_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/subscribers","subscription_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/subscription","commits_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/commits{/sha}","git_commits_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/git/commits{/sha}","comments_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/comments{/number}","issue_comment_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/issues/comments{/number}","contents_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/contents/{+path}","compare_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/merges","archive_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/downloads","issues_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/issues{/number}","pulls_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/pulls{/number}","milestones_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/milestones{/number}","notifications_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/labels{/name}","releases_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/releases{/id}","deployments_url":"https://api.github.com/repos/kata-csc/ckanext-sitemap/deployments","created_at":"2012-09-05T09:11:20Z","updated_at":"2016-03-03T13:37:56Z","pushed_at":"2016-07-14T07:26:22Z","git_url":"git://github.com/kata-csc/ckanext-sitemap.git","ssh_url":"git@github.com:kata-csc/ckanext-sitemap.git","clone_url":"https://github.com/kata-csc/ckanext-sitemap.git","svn_url":"https://github.com/kata-csc/ckanext-sitemap","homepage":null,"size":112,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kata-csc/ckanext-sitemap/pulls/3"},"html":{"href":"https://github.com/kata-csc/ckanext-sitemap/pull/3"},"issue":{"href":"https://api.github.com/repos/kata-csc/ckanext-sitemap/issues/3"},"comments":{"href":"https://api.github.com/repos/kata-csc/ckanext-sitemap/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/kata-csc/ckanext-sitemap/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/kata-csc/ckanext-sitemap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kata-csc/ckanext-sitemap/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/kata-csc/ckanext-sitemap/statuses/67520b723151d71e0ddd6415bd13b29ab369df23"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":38,"deletions":30,"changed_files":1}}
{"actor":{"display_login":"torfsen"}}