I found this handy tool about a year ago, the only problem I had with it was I wound up having to change the header so the site map would validate. I could only get this to work on a windows pc, I sure wish there was a tool that was easy to install on ubuntu linux...
It's free too! http://gsitecrawler.com/en/download/