• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class SitemapBuilder

Inheritance
System.Object
SitemapBuilder
Namespace: DotNetNuke.Services.Sitemap
Assembly: DotNetNuke.dll
Syntax
public class SitemapBuilder : object

Constructors

| Improve this Doc View Source

SitemapBuilder(PortalSettings)

Initializes a new instance of the SitemapBuilder class. Creates an instance of the sitemap builder class.

Declaration
public SitemapBuilder(PortalSettings ps)
Parameters
Type Name Description
PortalSettings ps

Current PortalSettings for the portal being processed.

Properties

| Improve this Doc View Source

CacheFileName

Declaration
public string CacheFileName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CacheIndexFileNameFormat

Declaration
public string CacheIndexFileNameFormat { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Providers

Declaration
public List<SitemapProvider> Providers { get; }
Property Value
Type Description
List<SitemapProvider>

Methods

| Improve this Doc View Source

BuildSiteMap(TextWriter)

Builds the complete portal sitemap.

Declaration
public void BuildSiteMap(TextWriter output)
Parameters
Type Name Description
TextWriter output
| Improve this Doc View Source

GetSitemapIndexFile(String, TextWriter)

Returns the sitemap file that is part of a sitemapindex.

Declaration
public void GetSitemapIndexFile(string index, TextWriter output)
Parameters
Type Name Description
System.String index

Index of the sitemap to return.

TextWriter output

The output stream.

Remarks

The file should already exist since when using sitemapindexes the files are all cached to disk.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS