Closed (won't fix)
Project:
XML sitemap
Version:
5.x-1.6
Component:
xmlsitemap.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2009 at 16:10 UTC
Updated:
8 Jul 2009 at 16:16 UTC
Hi,
I noticed that all paths in the sitemap with language specific caracters as e.g. ü, ö, ß, etc. are not transliterated properly. The pathauto provides this as an option, so some clean urls differ from the links in the xmlsitemap.
The attached patch checks if pathauto is enabled and calls pathauto_cleanstring() if this is the case (only 5 lines of code in in xmlsitemap_url()).
I would be glad if you would decide to implement this.
Thanks,
Oliver
| Comment | File | Size | Author |
|---|---|---|---|
| xmlsitemap_transliteration.patch | 901 bytes | olio |
Comments
Comment #1
dave reidThe $alias parameter is loaded directly from the url_alias table. The alias must be cleaned prior to inserting in the database. This patch will cause unnecessary processing on an already expensive operation.