PHP Script to generate a Google Sitemap automatically

The other day I needed to create a script that could automatically generate a Google Sitemap.  The key requirement was that we wanted to have the sitemap recreated automatically.  For example every time we added a post or on a regular schedule such as nightly. The script to create the automatic Google Sitemap was actually […]