Skip to main content

Module sitemap

Module sitemap 

Source
Expand description

Provides the core functionality for creating and managing sitemaps.

This module contains the main structures and functions for working with sitemaps, including creating sitemap entries, setting change frequencies, and serializing to XML.

Structs§

SiteMapData
Represents the data for a sitemap entry.
Sitemap
Represents a complete sitemap.

Enums§

ChangeFreq
Represents the change frequency of a URL in the sitemap.

Functions§

convert_date_format
Converts date strings from various formats to “YYYY-MM-DD”.
create_site_map_data
Generates SiteMapData from metadata.