Sitemaps.Consts (Sitemaps v0.1.2)

Copy Markdown View Source

Define the information needed to generate XML. Here you can find the schemas, the XML header, XML footer, and same header and footer for XML indexes.

Summary

Functions

The schemas we will need for XML sitemap.

The footer (or closing tag) for the XML sitemap.

The header in use for the sitemap file.

The footer for the index file.

The header for the index file.

Functions

schemas()

@spec schemas() :: %{required(atom()) => String.t()}

The schemas we will need for XML sitemap.

xml_footer()

@spec xml_footer() :: String.t()

The footer (or closing tag) for the XML sitemap.

xml_header()

@spec xml_header() :: String.t()

The header in use for the sitemap file.

xml_index_footer()

@spec xml_index_footer() :: String.t()

The footer for the index file.

xml_index_header()

@spec xml_index_header() :: String.t()

The header for the index file.