refactored support for sitemap protocol