title: Generate a list of all the pages contained in a website programmatically, using PHP
body: <p>How is it possibe to generate a list of all the pages of a given website programmatically using PHP?</p>
  
  <p>What I'm basically trying to achieve is to generate something like an sitemap, in nested unordered list with links for all the pages contained in a website.</p>