title: Generate dynamic sitemap with js?
body: <p>I have a small site, it has a bit of dynamic tabbed content which is loaded from a JSON file via an AJAX request and used to populate the DOM, the tabs themselves and content they contain are all generated on the fly from this JSON. This is all tied together with History.js so each tab is bookmarkable and indexable via a url: ?state=whatever.</p>
  
  <p>I'm now looking to put together a sitemap.xml to submit to Google which contains all the URLs for the relevant tabs.</p>
  
  <p>However, There is no server-side processing for the site, it is all static content served up in an S3 bucket.</p>
  
  <p>I'm looking to see if there is a way, using purely font-end technologies to generate the sitemap from the same JSON file which is used to populate the various tabs.</p>
  
  <p>Any ideas or suggestions?</p>
  
  <p>Thanks,</p>
  
  <p>Robert</p>