{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/9753","repository_url":"https://api.github.com/repos/Automattic/jetpack","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/9753/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/9753/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/9753/events","html_url":"https://github.com/Automattic/jetpack/issues/9753","id":332142908,"node_id":"MDU6SXNzdWUzMzIxNDI5MDg=","number":9753,"title":"News Sitemap: Create a compliant empty sitemap","user":{"login":"kraftbj","id":88897,"node_id":"MDQ6VXNlcjg4ODk3","avatar_url":"https://avatars0.githubusercontent.com/u/88897?v=4","gravatar_id":"","url":"https://api.github.com/users/kraftbj","html_url":"https://github.com/kraftbj","followers_url":"https://api.github.com/users/kraftbj/followers","following_url":"https://api.github.com/users/kraftbj/following{/other_user}","gists_url":"https://api.github.com/users/kraftbj/gists{/gist_id}","starred_url":"https://api.github.com/users/kraftbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraftbj/subscriptions","organizations_url":"https://api.github.com/users/kraftbj/orgs","repos_url":"https://api.github.com/users/kraftbj/repos","events_url":"https://api.github.com/users/kraftbj/events{/privacy}","received_events_url":"https://api.github.com/users/kraftbj/received_events","type":"User","site_admin":false},"labels":[{"id":306719875,"node_id":"MDU6TGFiZWwzMDY3MTk4NzU=","url":"https://api.github.com/repos/Automattic/jetpack/labels/Sitemaps","name":"Sitemaps","color":"006b75","default":false},{"id":70896532,"node_id":"MDU6TGFiZWw3MDg5NjUzMg==","url":"https://api.github.com/repos/Automattic/jetpack/labels/[Type]%20Bug","name":"[Type] Bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-13T20:03:09Z","updated_at":"2018-12-11T12:43:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When there are no qualifying posts for a news sitemap (recently published posts), an invalid sitemap is produced.\r\n\r\nIf attempting to submit this sitemap to Google, it returns an error \r\n```\r\nMissing XML tag\r\nThis required tag is missing. Please add it and resubmit.\r\n1\r\nParent tag: urlset\r\nTag: url\r\n```\r\n\r\nI'm not sure of the spec, but is there a way to output an empty, but valid, sitemap so people can submit it to Google? I'm thinking that if someone submits the sitemap when it is valid, they're going to be notified in the future if they hit a point where they do not have qualifying posts.\r\n\r\nWe could probably add this here? https://github.com/Automattic/jetpack/blob/6.2.1/modules/sitemaps/sitemap-builder.php#L1010"},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/446189449","html_url":"https://github.com/Automattic/jetpack/issues/9753#issuecomment-446189449","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/9753","id":446189449,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjE4OTQ0OQ==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-12-11T12:43:25Z","updated_at":"2018-12-11T12:43:25Z","author_association":"NONE","body":"<p>This issue has been marked as stale. This happened because:</p>\n<ul>\n  <li>It has been inactive in the past 6 months.</li>\n  <li>It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`.</li>\n</ul>\n<p>No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.</p>\n"}}
{"actor":{"display_login":"stale"}}