C# Class Sitemap.XML.Models.SitemapManager

Show file Open project: vasiliyfomichev/SitecoreSitemapXML Class Usage Examples

Public Methods

Method Description
BuildSiteMapForHandler ( ) : string
ContainsItemsToShow ( IEnumerable items ) : bool
GetContentLocation ( Item item ) : Item
GetSharedLocationParent ( Item child ) : Item
IsChildUnderSharedLocation ( Item child ) : bool
IsEnabledTemplate ( Item item ) : bool
IsExcludedItem ( Item item ) : bool
IsShared ( Item item ) : bool
IsUnderContent ( Item item ) : bool
RegisterSitemapToRobotsFile ( ) : void
SitemapDefinitionExists ( ) : bool
SitemapManager ( SitemapManagerConfiguration config ) : System.Collections.Generic
SubmitSitemapToSearchenginesByHttp ( ) : bool

Private Methods

Method Description
BuildListFromString ( string str, char separator ) : List
BuildSiteMap ( ) : void
BuildSitemapItem ( XmlDocument doc, SitemapItem item, Site site ) : XmlDocument
BuildSitemapXML ( List items, Site site ) : string
GetContextSiteDefinitionItem ( ) : Item
GetSharedContentDefinitions ( ) : IEnumerable
GetSitemapItems ( string rootPath ) : List
SubmitEngine ( string engine, string sitemapUrl ) : void

Method Details

BuildSiteMapForHandler() public method

public BuildSiteMapForHandler ( ) : string
return string

ContainsItemsToShow() public static method

public static ContainsItemsToShow ( IEnumerable items ) : bool
items IEnumerable
return bool

GetContentLocation() public static method

public static GetContentLocation ( Item item ) : Item
item Item
return Item

GetSharedLocationParent() public static method

public static GetSharedLocationParent ( Item child ) : Item
child Item
return Item

IsChildUnderSharedLocation() public static method

public static IsChildUnderSharedLocation ( Item child ) : bool
child Item
return bool

IsEnabledTemplate() public static method

public static IsEnabledTemplate ( Item item ) : bool
item Item
return bool

IsExcludedItem() public static method

public static IsExcludedItem ( Item item ) : bool
item Item
return bool

IsShared() public static method

public static IsShared ( Item item ) : bool
item Item
return bool

IsUnderContent() public static method

public static IsUnderContent ( Item item ) : bool
item Item
return bool

RegisterSitemapToRobotsFile() public method

public RegisterSitemapToRobotsFile ( ) : void
return void

SitemapDefinitionExists() public static method

public static SitemapDefinitionExists ( ) : bool
return bool

SitemapManager() public method

public SitemapManager ( SitemapManagerConfiguration config ) : System.Collections.Generic
config SitemapManagerConfiguration
return System.Collections.Generic

SubmitSitemapToSearchenginesByHttp() public method

public SubmitSitemapToSearchenginesByHttp ( ) : bool
return bool