Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dancer-Plugin-SiteMap CPAN distribution.

Report information
The Basics
Id: 75941
Status: resolved
Priority: 0/
Queue: Dancer-Plugin-SiteMap

People
Owner: Nobody in particular
Requestors: KALGAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Google sitemap.xml errors
Google don't like sitemap.xml when it have relative paths. So, you need to generate XML like this: <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>http://example.com/route</loc> </url> </urlset>
On Wed Mar 21 10:14:16 2012, KALGAN wrote: Show quoted text
> Google don't like sitemap.xml when it have relative paths. > > So, you need to generate XML like this: > > <?xml version="1.0" encoding="UTF-8"?> > <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> > <url> > <loc>http://example.com/route</loc> > </url> > </urlset>
Hi, Many thanks for taking the time to let me know about this, feedback is always appreciated! Sorry for the slight delay, but I have just now push v0.08 to CPAN that should be visible on there shortly. This new version has absolute URIs in the XML sitemap. Let me know if you hit any other problems with it. Thanks again, JamesR