The atg.sitemap.SitemapWriterService class writes sitemaps and sitemap indexes out to XML files. The ATG platform includes a component of this class, /atg/sitemap/SitemapWriterService. Typically you need to run a component of this class on each page-serving ATG instance in your production environment.
To configure a SitemapWriterService component, set the following properties:
sitemapRepository
The repository that stores the sitemaps and the sitemap index. This should be set to/atg/sitemap/repository/SitemapRepository.
sitemapPropertiesManager
A component that maps properties in theSitemapRepositoryto the names used in Java code. This should be set to/atg/sitemap/repository/SitemapPropertiesManager.
sitemapTools
A component with utility methods for looking up and modifying items inSitemapRepository. This should be set to/atg/sitemap/repository/SitemapTools.
warDir
The operating-system pathname of the deployed WAR file that the sitemap is generated for; for example:C:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear\mywebapp.war
TheSitemapWriterServicewrites sitemaps files to the top-level directory of the web application, as recommended bysitemaps.org.
In addition to these sitemap-related properties, SitemapWriterService also has several properties it inherits from atg.service.scheduler.SingletonSchedulableService. See Invoking Sitemap Generation and Writing for more information.

