Module seo_sitemap

Support routines for sitemap generation.

Copyright © 2021 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Support routines for sitemap generation.

Function Index

categories/1Return the categories to be added to the sitemap, ordered by seo_sitemap_priority.
urlset/4Fetch all urls in an urlset.
urlsets/1Split the urlsets into sitemap files, depending on the url count in the urlsets.

Function Details

categories/1

categories(Context::z:context()) -> [m_rsc:resource_id()]

Return the categories to be added to the sitemap, ordered by seo_sitemap_priority

urlset/4

urlset(Source::binary(), Offset::pos_integer(), Limit::pos_integer(), Context::z:context()) -> [map()]

Fetch all urls in an urlset.

urlsets/1

urlsets(Context::z:context()) -> [map()]

Split the urlsets into sitemap files, depending on the url count in the urlsets.


Generated by EDoc