Skip to content

Conversation

@wherelse
Copy link
Contributor

@wherelse wherelse commented May 21, 2022

测试可用,可以正常生成sitemap

@EryouHao
Copy link
Member

有关于 sitemap 的作用以及目前是否依然有用的更稍微详细一点的说明吗?

@wherelse
Copy link
Contributor Author

有关于 sitemap 的作用以及目前是否依然有用的更稍微详细一点的说明吗?

sitemap有利于搜索引擎对网站的抓取和收录,比如在google的search console中就可以选择添加sitemap站点地图加速抓取。
站点地图的一些介绍:
https://developers.google.com/search/docs/advanced/sitemaps/overview
https://www.sitemaps.org/protocol.html

虽然之前的rss的atom.xml在一定程度上能够替代sitemap的作用,但是生成的atom.xml和设置中的feed文章数量相关,如果文章数量设置较多,其文件体积也会变的非常庞大。

另外,sitemap的可选择条目比我这次提交的PR中的条目更多,如lastmodchangefreq,在gridea中的时间为创建时间,会和文章顺序关联,没有最后更新时间的选项,故未添加,更新频率每个用户也各有差异,所以未添加。

@renbaoshuo
Copy link
Contributor

This pull request resolves #606.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants