Google Sitemap Generator with PHP

This is the PHP code that runs the Blogger Sitemap Generator. The generated XML sitemaps are exposed to Google via the robots.txt file – see Add Google Sitemap to Blogger Blogs.