Constellation.Feature.SitemapXml
9.0.10.16993

Constellation is a collection of utilities for .NET CMS implementers.

The Feature.SitemapXml namespace contains Http Handlers which intercept the request before it hits Sitecore. The /robots.txt handler returnsa basic document stating that all agents have access to the sitemap.xml file. (there is an option to explicitly deny all agents as well).

For /sitemap.xml, the request is passed to a Sitemap Generator, which uses a Crawler to identify which Items to put in the resultingXML document. The Generator also uses a Node class to parse the Items to identify what information belongs in each of the Items' recordsin the XML output. Because this document can be expensive to generate, there is a built-in caching mechanism.

This library supports "global" defaults in the Sitecore *.config files, as well as Site-specific settings.

The system will function on a basic level "out of the box". Developers are encouraged to extend/replace the crawler and node classes for their solution and/or individual Helix Projects within the solution to better suit their needs.

Warning, your web.config must have a system.webServer/handlers section, and that section must have at least one handler in it (an "add" element) in orderto install this package successfully. If you're using the default Sitecore web.config this won't be an issue. The handlers provided in this package must beinserted at the top of the stack of handlers.