update sitemap & feeds code to fix xml errors