Google complains about broken sitemap

Found a bug? Tell us!!
Post Reply
hanno
Regular
Posts: 72
Joined: Fri May 20, 2005 8:04 am
Contact:

Google complains about broken sitemap

Post by hanno » Fri Jan 11, 2019 12:27 pm

I get this error in the Google search console / webmaster tools about a serendipity sitemap:

Sitemap can be read, but has errors
Unbound XML namespace prefix.
1 instance
The XML Sitemap cannot be parsed because it contains one or more unbound namespace prefixes. For example, this error is generated when <xhtml:link> is found in a Sitemap without prior xmlns:xhtml="http://www.w3.org/1999/xhtml".
Line: 9

I can reproduce this on two different s9y installations.

User avatar
onli
Regular
Posts: 2260
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Google complains about broken sitemap

Post by onli » Thu Jan 17, 2019 5:53 pm

I think that plugin would need some love anyway. I could help merge a PR!

hanno
Regular
Posts: 72
Joined: Fri May 20, 2005 8:04 am
Contact:

Re: Google complains about broken sitemap

Post by hanno » Fri Mar 01, 2019 4:05 pm

I think I found the bug and made a pull request:
https://github.com/s9y/additional_plugins/pull/91

User avatar
onli
Regular
Posts: 2260
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Google complains about broken sitemap

Post by onli » Fri Mar 01, 2019 5:15 pm

Thank you! It's great the plugin gets some work done, it's way too important to be ignored or dropped. Shall I close https://github.com/s9y/Serendipity/issues/589?

hanno
Regular
Posts: 72
Joined: Fri May 20, 2005 8:04 am
Contact:

Re: Google complains about broken sitemap

Post by hanno » Fri Mar 01, 2019 6:08 pm

You opened that bug, so I leave that up to you :-)

But from my side the relevant issues should be resolved once the PR is merged.

User avatar
onli
Regular
Posts: 2260
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Google complains about broken sitemap

Post by onli » Fri Mar 01, 2019 9:29 pm

Then I'll close it, at least for now :)

Post Reply