AdvantageRouteHandlerSiteMap..::..PushSiteMap Method (HttpContext, Domain, Language)
Writes the sitemap.xml content to the response. First tries the physical file on
disk (either at the request path or ~/sitemap.xml); falls back to a dynamically
generated sitemap built from the CMS navigation structure for the supplied
domain/language.
Namespace:
AdvantageCMS.Core.RoutingAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
protected bool PushSiteMap( HttpContext context, Domain domain, Language language )
Parameters
- context
- Type: HttpContext
The current HTTP context whose response receives the sitemap body.
- domain
- Type: AdvantageCMS.Core.Common.BusinessEntity..::..Domain
The domain whose navigation drives the dynamically generated sitemap.
- language
- Type: AdvantageCMS.Core.Common.BusinessEntity..::..Language
The language whose navigation drives the dynamically generated sitemap.

