AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

BaseSitemapIndexGenerator..::..Generate Method

This will build an xml sitemap index and sitemaps for better index with search engines. See http://en.wikipedia.org/wiki/Sitemaps for more information.

Namespace:  AdvantageCMS.Core.Common.SitemapGenerator
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public void Generate(
	string rootUrl,
	string directoryLocation
)

Parameters

rootUrl
Type: String
Root url for sitemap (i.e. http://advantagecsp.com)
directoryLocation
Type: String
Directory location to put all the files.