I see two parts to this:
- Which parts do you want to expose in the sitemap?
- When do you create the file?
The first requires configuration (alas). The second shouldn't be manual. If you don't want the second to be regenerated on every request then I'm guessing the right time to generate (from the config) is at deployment time (perhaps via capistrano).