What is GoogleSiteMap?
GoogleSiteMap is a snippet that will display a Google-customized SiteMap for your site.
- MODx Revolution 2.2.x or later
- PHP5.4 or later
History and Info
In 2016 GoogleSiteMap was completely re-written by YJ Tso (@sepiariver) based on blazing-fast sitemap code by Garry Nutting (@garryn), after it was found that the legacy Snippet would time-out when more than several thousand nodes needed to be generated.
The trade-off was that some of the legacy features could not be supported. An attempt was made to maintain backwards compatibility, by calling the legacy Snippet if a legacy feature is required.
The legacy GoogleSiteMap Snippet was originally written by Shaun McCormick (splittingred) as a Snippet to display a Google SiteMap, and first released on June 23rd, 2009.
You can view the roadmap here.
It can be downloaded from within the MODx Revolution manager via [Package Management], or from the MODx Extras Repository, available here: https://modx.com/extras/package/googlesitemap
Development and Bug Reporting
GoogleSiteMap source code is managed in GitHub, and can be found here: http://github.com/modxcms/GoogleSiteMap
GoogleSiteMap can be called via the Snippet tags.
GoogleSiteMap comes with two snippets:
Display a Google SiteMap for tens of thousands of Resources.
Display a Google SiteMap for a more modest number of Resources, using a custom item template Chunk.