The Google sitemap function, is it possible to set a starting point for this similar to the skin:sitemap tag?
I want to exclude nav items under the homepage.
The Google sitemap function, is it possible to set a starting point for this similar to the skin:sitemap tag?
I want to exclude nav items under the homepage.
Google Sitemap function is out of control and should die in a fire – it’s there for backward compatibility only.
The easiest way to generate a sitemap is to use a view that generates the XML you need. For example:
And it could probably be a lot simpler than that.
Ideally we should have a simple example sitting in core
. We generally build more complex sitemaps for larger sites but there’s no reason a simple example couldn’t cover a wide range of scenarios.
So much to do!
Ha! Yeah, that’s pretty much what I’ve done just now anyway. Made the changefreq and priority based on the number of days since last update. Pretty basic but does the job for now.