In the following article, I introduced the “Sitemaps” module, which adds dynamic sitemap XML files for each site in Omeka S.
I made a simple feature addition to the above module. Specifically, I added options to choose whether to include pages and itemsets in the sitemap XML.
The forked repository is below.
https://github.com/nakamura196/omeka-s-module-Sitemaps
The changes can be reviewed at the following URL.
I hope this serves as a useful reference for module modifications.