OJS sitemap lastmod

I’d like to add lastmod to our OJS sitemap. In


lastmod is listed as an option (at the bottom of the file).

How do I activate this option?

HI @bijaan,

It doesn’t look like the $lastmod argument is ever used in the application. If you are comfortable writing PHP code and submitting a pull request, we’d be happy to receive a contribution which added this where appropriate (issues, articles, announcements).

You can locate everywhere that method is called by looking at pages/sitemap/SitemapHandler.inc.php and lib/pkp/pages/sitemap/PKPSitemapHandler.inc.php.

1 Like