Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xhtml:link support #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add xhtml:link support #8

wants to merge 1 commit into from

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