Skip to content

Conversation

@utay
Copy link

@utay utay commented Apr 4, 2023

This PR adds xhtml:link support for localized sitemaps as explained in https://developers.google.com/search/docs/specialty/international/localized-versions#sitemap. Unfortunately, I couldn't make unmarshaling work for xhtml:links because of golang/go#9519. Basically, marshal works with xml:"xhtml:link" and unmarshal with xml:"xhtml link" but I didn't manage to make both work with a single field. Happy to hear your thoughts!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant