C# Класс Piranha.Web.Handlers.SitemapHandler

Generates the sitemap.xml from all published pages & posts.
Наследование: IRequestHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
HandleRequest ( HttpContext context ) : void

Handles the sitemap request.

Приватные методы

Метод Описание
GetPermalink ( string permalink ) : string

Generates the correct url.

WriteNodes ( HttpContext context, List nodes ) : void

Writes the sitemap to the sitemap.

WritePosts ( HttpContext context, List posts ) : void

Writes all posts to the sitemap.

Описание методов

HandleRequest() публичный Метод

Handles the sitemap request.
public HandleRequest ( HttpContext context ) : void
context System.Web.HttpContext The current http context
Результат void