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.

https://github.com/nakamura196/omeka-s-module-Sitemaps/commit/03325f79e4e5b83c4ff7867fd37ed210fdf8eab2

I hope this serves as a useful reference for module modifications.