AshSitemap.Sitemaps.Sitemap (ash_sitemap v1.0.1)

View Source

A struct module representing a url sitemap.

See more https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap#xml

Summary

Types

t()

@type t() :: %AshSitemap.Sitemaps.Sitemap{
  image: [AshSitemap.Sitemaps.Image.t()],
  name: String.t(),
  news: AshSitemap.Sitemaps.News.t() | nil,
  pagemap: AshSitemap.Sitemaps.PageMap.t() | nil,
  path: String.t(),
  priority: float(),
  read_action: String.t() | nil,
  video: [AshSitemap.Sitemaps.Video.t()]
}

Functions

build(record, sitemap)