-
Notifications
You must be signed in to change notification settings - Fork 130
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
multilingual website xhtml ? #28
Comments
Shouldn't be too hard to implement. I will look into it the next days. |
@lgraubner thanks it would be really amazing for SEO :) |
I dived into that feature and actually it's not as easy as I expected. The problem is, that the generator has to skip links which are already handled by a link rel="alternate". But unfortunately the generator is not keeping track on which items were already added as it just streams the pieces to a file. Also a lookahead would be required to not add those site before the "main" language site was added with it's links. |
@elievischel you can check this one https://github.com/hazemhagrass/sitemap-generator |
Thanks, I will have a look. |
Hi,
would it be possible to add the functionality for multilingual website ?
=>
with
http://www.example.com/cool
daily
<xhtml:link
rel="alternate"
hreflang="en"
href="http://www.example.com/en/cool"
/>
<xhtml:link
rel="alternate"
hreflang="de"
href="http://www.example.com/de/cool/"
/>
The text was updated successfully, but these errors were encountered: