hexojs/hexo-generator-sitemap

"invalid URL" errors in the test

captaineggi opened this issue · 1 comments

Run the test of the sitemap file made by this plugin but google search console kept saying

"This is not a valid URL. Please correct it and resubmit."

and it seems that every url on the website is invalid...
I noticed that there are many empty lines between usual lines like this:

2018-12-05 17 48 42

Not sure if they are the reason for the error.

Also, I tried other changes to the general setting, e.g. change the url to https, shorten the url etc., but they didn't work.
Have no clues what's going wrong. Any advice would be appreciated!!

Original sitemap file can be refered here:
https://captn.me/sitemap.xml

self-solve...
i deleted the blank space character in the template file and the new sitemap.xml works ok now.