This second patch (that should be applied after the first one) adds a formating option to sitemap entries. One can now use a formated string to generate a sitemap entry. This formated string currently understands title (%T), author (%A) and date (%D).