hexo-generator-sitemap icon indicating copy to clipboard operation
hexo-generator-sitemap copied to clipboard

google文件格式不符

Open silmont2000 opened this issue 4 years ago • 3 comments

检查了一下,生成的xml里面缺少了: <urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"> ...</urlset> 希望早日更新!

silmont2000 avatar Apr 17 '20 08:04 silmont2000

提交给google后得到的错误:

This url is not allowed for a Sitemap at this location. Examples URL: http://yoursite.com/2020/01/07/travel-with-strangers/ Line 4 URL: http://yoursite.com/2019/10/07/joker/ Line 11

Arch1tect avatar May 01 '20 22:05 Arch1tect

生成的xml里面缺少了: <urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"> ...</urlset>

It has always been there? https://github.com/hexojs/hexo-generator-sitemap/blob/c9c2d90959668346da88d5193c109dbc107476a4/sitemap.xml#L2

curbengh avatar Jun 30 '20 13:06 curbengh

我这边显示日期格式不正确:

日期无效
15 处
发现无效日期。请修正日期或格式,然后重新提交。
示例
第 3行
父标记:
url
标记:
lastmod
第 4行
父标记:
url
标记:
lastmod
第 5行
父标记:
url
标记:
lastmod

我的sitemap地址是这个 https://blog.whyun.com/sitemap.xml

yunnysunny avatar Oct 11 '21 07:10 yunnysunny

I cannot reproduced your case and no one provides enough information, I am going to close this issue.

If the problem still exists, please reopen this issue and provide more information.

uiolee avatar Apr 19 '24 14:04 uiolee