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

hreflang support #6

Open
rodajc opened this issue Dec 5, 2022 · 0 comments · Fixed by Fynn93/sitemap-generator#1 · May be fixed by #7
Open

hreflang support #6

rodajc opened this issue Dec 5, 2022 · 0 comments · Fixed by Fynn93/sitemap-generator#1 · May be fixed by #7

Comments

@rodajc
Copy link

rodajc commented Dec 5, 2022

Great tool! Simple and effective. Exactly what I was looking for.

I made one subtle modification. To add hreflang support I changed:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

to:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">

in the header declaration. This breaks proper viewing in a browser, but anyway.

More info on wikipedia.

Great bash programming BTW!

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 a pull request may close this issue.

1 participant