Constellation.Foundation.SitemapXml 10.2.4.25608

.NET Framework 4.8
dotnet add package Constellation.Foundation.SitemapXml --version 10.2.4.25608
NuGet\Install-Package Constellation.Foundation.SitemapXml -Version 10.2.4.25608
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Constellation.Foundation.SitemapXml" Version="10.2.4.25608" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Constellation.Foundation.SitemapXml --version 10.2.4.25608
#r "nuget: Constellation.Foundation.SitemapXml, 10.2.4.25608"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Constellation.Foundation.SitemapXml as a Cake Addin
#addin nuget:?package=Constellation.Foundation.SitemapXml&version=10.2.4.25608

// Install Constellation.Foundation.SitemapXml as a Cake Tool
#tool nuget:?package=Constellation.Foundation.SitemapXml&version=10.2.4.25608

Requires Sitecore 10.2
Requires .NET Framework 4.8

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

The Foundation.SitemapXml namespace contains Http Handlers which intercept the request before it hits Sitecore.


Robots.TXT Handler:

Returns a basic document that automatically applies to all search engine agents. The stock configuration has disallows for /sitecore urls to prevent the login page
from being indexed. Additional default or site specific rules can be added through the supplied configuration file. See instructions
within the config file. Assuming a given Site's robots.txt does not deny the root of a site, the robots.txt file will include a link to the site's sitemap.xml file.


Sitemap.XML Handler:

Returns an on-the-fly document (there are cache options available) for each configured Site in your installation. The document is created by having one or more
"crawlers" inspect the Content Tree generating the necessary Item facts and URLs required to produce the Sitemap. You can specify a set of default crawlers
for your installation, as well as override the crawler list on a site-by-site basis. There are also provisions for excluding sites from returning a sitemap.xml
document if it is not appropriate.


Default Functionality:

The system will function on a basic level "out of the box". There is a default Content Tree crawler that will start at the root of the current Site and include Items
that have presentation details. The crawlers operate in the extranet\anonymous role and thus security can be used to "hide" Items or branches from the crawler.

Crawler output has extensive support for "validating" whether an Item should be included in the sitemap or not. Facts available through the API include:

- Does the Item have presentation?
- Does the Item have explicit rules to prevent Search Indexing?
- Does the Item represent a "Page"?

It is up to the developer to supply meaningful decisions behind these facts, but answering "no" to any of them will result in the Item not being included.

This library outputs substantial amounts of troubleshooting warnings to the Sitecore log file. If you're having trouble, search for
Constellation.Foundation.SitemapXml in your log file.

Multi-Language Support:
For every "site" definition element in your Sitecore configs, add a "supportedLanguages" attribute that is a comma-delimited list of all languages available on your site
(example: supportedLanguages="en-US,fr-FR,pt-PT") Doing this will force the sitemap.xml file to include "alternate" links for each language the site supports.


Installation 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 order
to 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 be
inserted at the top of the stack of handlers.

Product Versions
.NET Framework net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Constellation.Foundation.SitemapXml:

Package Downloads
Constellation.Feature.PageTagging.SitemapXml

Requires Sitecore 10.2 Requires .NET Framework 4.8 Constellation is a collection of utilities for .NET CMS implementers. The Feature.PageTagging.SitemapXml namespace is an extension of the base Feature that adds explicit support for Foundation.SitemapXml, based upon the Page Search Engine Directive fields available in the PageTagging module. This feature is shipped separately in case the user is not using Constellation.Foundation.SitemapXml or has a different implementation that is not compatible with the PageTagging feature.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
10.2.4.25608 335 2/6/2023
10.2.3.14170 688 6/23/2022
10.2.2.30898 283 5/3/2022
10.2.1.25910 283 3/31/2022
10.2.0.19277 968 11/15/2021
10.1.4.31353 290 6/22/2022
10.1.2.37211 314 5/4/2022
10.1.1.26058 544 3/31/2022
10.1.0.26945 617 3/4/2021
10.0.4.24634 1,288 11/20/2020
10.0.3.28510 500 8/7/2020
10.0.2.25844 376 8/7/2020
10.0.1.24149 515 8/5/2020
10.0.0.22989 679 8/4/2020
9.3.0.17031 569 7/27/2020
9.1.10.25057 624 5/8/2020
9.1.9.25014 656 2/18/2020
9.1.9.23657 524 2/18/2020
9.1.8.24584 732 1/13/2020
9.1.7.25080 428 1/9/2020
9.1.6.27627 891 8/26/2019
9.1.5.26323 1,084 5/30/2019
9.1.4.18803 589 5/29/2019
9.1.3.17182 485 4/29/2019
9.1.2.26092 655 4/11/2019
9.1.1.27595 658 3/6/2019
9.1.0.19493 1,065 12/7/2018
9.1.0.19422 619 12/7/2018
9.0.6.28243 1,017 10/25/2018
9.0.5.28533 744 10/21/2018
9.0.4.17250 1,931 8/14/2018
9.0.3.21744 826 7/18/2018
9.0.2.23128 778 7/17/2018
9.0.1.17240 772 7/17/2018
9.0.0.28519 870 6/24/2018

Revised test for empty language items for language variant links in sitemap.xml