automate construction of sitemap