Sitemap category publish/unpublish logic.