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

Class CoreSitemapProvider

Inheritance
System.Object
SitemapProvider
CoreSitemapProvider
Inherited Members
SitemapProvider.Name
SitemapProvider.Description
SitemapProvider.Enabled
SitemapProvider.OverridePriority
SitemapProvider.Priority
Namespace: DotNetNuke.Services.Sitemap
Assembly: DotNetNuke.dll
Syntax
public class CoreSitemapProvider : SitemapProvider

Methods

| Improve this Doc View Source

GetPriority(TabInfo)

When page level priority is used, the priority for each page will be computed from the hierarchy level of the page. Top level pages will have a value of 1, second level 0.9, third level 0.8, ...

Declaration
protected float GetPriority(TabInfo objTab)
Parameters
Type Name Description
TabInfo objTab

The page being indexed.

Returns
Type Description
System.Single

The priority assigned to the page.

| Improve this Doc View Source

GetUrls(Int32, PortalSettings, String)

Includes page urls on the sitemap.

Declaration
public override List<SitemapUrl> GetUrls(int portalId, PortalSettings ps, string version)
Parameters
Type Name Description
System.Int32 portalId
PortalSettings ps
System.String version
Returns
Type Description
List<SitemapUrl>

A of SitemapUrl instances.

Overrides
SitemapProvider.GetUrls(Int32, PortalSettings, String)
Remarks

Pages that are included:

  • are not deleted
  • are not disabled
  • are normal pages (not links, …)
  • are visible (based on date and permissions)
| Improve this Doc View Source

IsTabPublic(TabPermissionCollection)

Declaration
public virtual bool IsTabPublic(TabPermissionCollection objTabPermissions)
Parameters
Type Name Description
TabPermissionCollection objTabPermissions
Returns
Type Description
System.Boolean

Extension Methods

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