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 »

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.
onli
Regular
Posts: 2825
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Google complains about broken sitemap

Post by onli »

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 »

I think I found the bug and made a pull request:
https://github.com/s9y/additional_plugins/pull/91
onli
Regular
Posts: 2825
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Google complains about broken sitemap

Post by onli »

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 »

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.
onli
Regular
Posts: 2825
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Google complains about broken sitemap

Post by onli »

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