The key requirement was that we wanted to have the sitemap recreated automatically. You can create your sitemap manually or choose from a number of third-party tools to generate your sitemap for you. It will spider your website and also your filesystem (of … Just a resource checker. // The generator writes output to the current directory by default. PHP Script to generate a Google Sitemap automatically.