I have specific cq pages and external website pages that need to be displayed as links in sitemap page.
I came to know that I need to create a sitemap page component having xml.jsp that generates xml like
`<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url> <loc>http://<host>/about_us.html</loc></url>
<url> <loc http://<host>/about_us/<page-path>.html </loc> </url>
</urlset >`
and sitemap.jsp that reads the above xml and generate the html for sitemap page.
My understanding might not be correct, please correct me. I am looking for some detailed example on what implementations I need to do to create sitemap with set of specific pages.
Thank you!