Skip to content
CPyle edited this page Mar 27, 2012 · 5 revisions

Advanced Sitemap offers two simple extension points that developers creating custom sites can take advantage of.

ISitemapRouteFilter

Implementing this interface will allow you to filter out urls from appearing in both the XML and HTML sitemaps. Simply do your filtering and return false if a particular path shouldn't be considered.

ISitemapRouteProvider

Implementing this interface will allow you to supply the sitemap with additional routes. This is particularly useful if you have implemented lots of custom MVC routing into your solution and still wish to progrmatically generate your sitemap without having to create custom routes by hand.

Clone this wiki locally