code: protected function compile()
  	{
  		switch ($this->news_format)
  		{
  			case 'news_year':
  				$this->compileYearlyMenu();
  				break;
  
  			default:
  			case 'news_month':
  				$this->compileMonthlyMenu();
  				break;
  
  			case 'news_day':
  				$this->compileDailyMenu();
  				break;
  		}
  
  		$this->Template->empty = $GLOBALS['TL_LANG']['MSC']['emptyList'];
  	}
docs: Generate the module