Fixes generateSiteMap and cleans up generateXMLFeed