Class CoreSitemapProvider
Inherited Members
Namespace: DotNetNuke.Services.Sitemap
Assembly: DotNetNuke.dll
Syntax
public class CoreSitemapProvider : SitemapProvider
Methods
| Improve this Doc View SourceGetPriority(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. |
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 |
Overrides
Remarks
Pages that are included:
- are not deleted
- are not disabled
- are normal pages (not links, …)
- are visible (based on date and permissions)
IsTabPublic(TabPermissionCollection)
Declaration
public virtual bool IsTabPublic(TabPermissionCollection objTabPermissions)
Parameters
| Type | Name | Description |
|---|---|---|
| TabPermissionCollection | objTabPermissions |
Returns
| Type | Description |
|---|---|
| System.Boolean |