CRS includes components for creating sitemaps to help web spiders access site pages. These components create a sitemap index file named siteindex.xml with references to three sitemap files:
categorySitemap.xmlis the sitemap for category pages.productSitemap.xmlis the sitemap for product detail pages.staticSitemap.xmlis the sitemap for static pages, such as the About Us page.
The CRS sitemap-generation components, which are found in the /atg/sitemaps/ Nucleus folder, include:
CategorySitemapGenerator-- This component is of classatg.commerce.sitemap.CatalogSitemapGenerator, which is a subclass ofatg.sitemap.DynamicSitemapGeneratorfor use with custom catalogs. With custom catalogs, the default parent category for a product can differ depending on the catalog assigned to a user, so this class adds acontextCatalogproperty for specifying the ID of the catalog to use for constructing URLs. TheCategorySitemapGeneratorcomponent’scontextCatalogproperty is set tomasterCatalog, which is the ID of the top-level catalog in ATG Store.CategorySitemapGeneratorgenerates the entries in theSitemapRepositorythat are used to create thecategorySitemap.xmlfile.ProductSitemapGenerator-- This component is also of classatg.commerce.sitemap.CatalogSitemapGenerator, and itscategoryContextproperty is set tomasterCatalog.ProductSitemapGeneratorgenerates the entries in theSitemapRepositorythat are used to create theproductSitemap.xmlfile.StaticSitemapGenerator-- This component is of classatg.sitemap.StaticSitemapGenerator. It generates the entries in theSitemapRepositorythat are used to create thestaticSitemap.xmlfile.SitemapIndexGenerator-- This component is of classatg.sitemap.SitemapIndexGenerator. It generates the entries in theSitemapRepositorythat are used to create thesiteindex.xmlfile.SitemapGeneratorService-- This component is of classatg.sitemap.SitemapGeneratorService. It manages the process of scheduling and invoking the sitemap generator components.SitemapWriterService-- This component is of classatg.sitemap.SitemapWriterService. It writes out the entries from theSitemapRepositoryto create the sitemap and sitemap index XML files.

