Added function to get links from sitemap