/**
  * Specific controller action for displaying a particular list of links 
  * for a class
  * 
  * @return mixed
  */
 public function sitemap()
 {
     $class = $this->request->param('ID');
     $page = $this->request->param('OtherID');
     if (GoogleSitemap::enabled() && $class && $page) {
         Config::inst()->update('SSViewer', 'set_source_file_comments', false);
         $this->getResponse()->addHeader('Content-Type', 'application/xml; charset="utf-8"');
         $this->getResponse()->addHeader('X-Robots-Tag', 'noindex');
         $items = GoogleSitemap::inst()->getItems($class, $page);
         $this->extend('updateGoogleSitemapItems', $items, $class, $page);
         return array('Items' => $items);
     } else {
         return new SS_HTTPResponse('Page not found', 404);
     }
 }