How to create an XML sitemap that auto includes the new pages created for my site daily.

How to create an XML sitemap that auto includes the new pages created for my site daily.
ex: moviebuff website . check their sitemap.
here in their sitemap website pages automatically generated . how this is possible?