View Google sitemap protocol; https://support.google.com/webmasters/answer/183668?hl=en
- Use sitemap to create table or use current table
- If new table, populate new table with data
- Connect database to script
- Display data from the database
- Add sitemap code to script
- Change to dynamic sitemap
- Save file as xml
- View file
- Add to robots.txt
- Uplaod files to site