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

sitemap.xml depends on globalization culture #253

Closed
kkarahainko opened this issue Dec 2, 2013 · 4 comments
Closed

sitemap.xml depends on globalization culture #253

kkarahainko opened this issue Dec 2, 2013 · 4 comments

Comments

@kkarahainko
Copy link

Hello, have a problem with the floating-point separator,

Seems that "sitemap.xml" depends on globalization culture, and if culture is "en" we have 0.5 (dot) and if culture is "ru-RU" we have 0,5 (comma - not valid for Google).

Is it possible to avoid this behavior?

@NightOwl888
Copy link
Collaborator

Where are you seeing this behavior? Could you post your node configuration?

@kkarahainko
Copy link
Author

<?xml version="1.0" encoding="utf-8" ?>
<mvcSiteMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://mvcsitemap.codeplex.com/schemas/MvcSiteMap-File-4.0" xsi:schemaLocation="http://mvcsitemap.codeplex.com/schemas/MvcSiteMap-File-4.0 MvcSiteMapSchema.xsd">
    <mvcSiteMapNode title="Index" controller="Index" action="Index" changeFrequency="Daily" updatePriority="Normal">
        <mvcSiteMapNode title="Trailers" dynamicNodeProvider="TrailersHub.Web.Sitemap.TrailersNodeProvider, TrailersHub.Web" />
    </mvcSiteMapNode>
</mvcSiteMap>

updatePriority="Normal" converts to 0,5 (with comma separator)

<priority>0,5</priority>

@NightOwl888
Copy link
Collaborator

v4.4.6 has been released with the fix. Thanks for the report.

@kkarahainko
Copy link
Author

Thank you.

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

No branches or pull requests

2 participants