link = new Link(); echo $gsitemap->generateSitemapIndex();