这不是将主题移入不同的站点地图块。主题可以保留在它们已有的同一个站点地图块中。
(主题到站点地图块的映射无论如何都是任意的,因为数据库 select 语句带有 limit 没有定义 order。)
此 bug 报告是关于每个站点地图块的 lastmod 日期应代表该站点地图块包含的最新主题的 lastmod 日期。
Google 的方式应该是:
- 加载
sitemap.xml
- 检查站点地图块的
lastmod并排队需要更新的站点地图块
(lastmod日期比上次下载日期新)
- 加载排队的站点地图块
sitemap_[1-5].xml
- 检查主题 URL 的
lastmod并排队需要更新的主题 URL
(lastmod日期比上次下载日期新)
- 加载排队的主题 URL。
如果 sitemap.xml 中站点地图块的 lastmod 是错误的:
- Google 不会排队更改的站点地图块(步骤 1)
- Google 不会及时更新更改的站点地图块(步骤 2)
- Google 不会及时更新更改的主题(步骤 3)
目前 https://meta.discourse.org/sitemap.xml 看起来是这样的:
-
https://meta.discourse.org/sitemap_1.xml
lastmod: 2024-03-19T12:50:09Z
内部所有主题的日期都更旧或相同?
- 最新主题:
https://meta.discourse.org/t/creating-a-stickypost-for-forum-threads/299967
lastmod: 2024-03-19T11:03:38Z
- 最新主题:
-
https://meta.discourse.org/sitemap_2.xml
lastmod: 2024-03-16T12:59:17Z
内部所有主题的日期都更旧或相同?
- 最新主题:
https://meta.discourse.org/t/launcher-rebuild-app-error-bootstrap-failed-with-exit-code-125/299538
lastmod: 2024-03-19T09:17:46Z
- 最新主题:
-
https://meta.discourse.org/sitemap_3.xml
lastmod: 2024-03-16T12:59:17Z
内部所有主题的日期都更旧或相同?
- 最新主题:
https://meta.discourse.org/t/configure-direct-delivery-incoming-email-for-self-hosted-sites/49487
lastmod: 2024-03-18T18:16:26Z
- 最新主题:
-
https://meta.discourse.org/sitemap_4.xml
lastmod: 2024-03-16T12:59:17Z
内部所有主题的日期都更旧或相同?
- 最新主题:
https://meta.discourse.org/t/video-thumbnails-issue/263595
lastmod: 2024-03-19T00:00:20Z
- 最新主题:
-
https://meta.discourse.org/sitemap_5.xml
lastmod: 2024-03-16T12:59:17Z
内部所有主题的日期都更旧或相同?
- 最新主题:
https://meta.discourse.org/t/daily-summary-9pm-utc/291850
lastmod: 2024-03-18T21:14:49Z
- 最新主题:
-
https://meta.discourse.org/sitemap_recent.xml
2024-03-19T13:03:41Z
内部所有主题的日期都更旧或相同?
- 最新主题:
https://meta.discourse.org/t/daily-summary-1pm-utc/291852
lastmod: 2024-03-19T13:02:07Z
- 最新主题: