site/components/com_categories/views/category/view.html.php
protected function addFeed()
	{
		if ($this->params->get('show_feed_link', 1) == 1)
		{
			$link    = '&format=feed&limitstart=';
			$attribs = array('type' => 'application/rss+xml', 'title' => 'RSS 2.0');
			$this->document->addHeadLink(JRoute::_($link . '&type=rss'), 'alternate', 'rel', $attribs);
			$attribs = array('type' => 'application/atom+xml', 'title' => 'Atom 1.0');
			$this->document->addHeadLink(JRoute::_($link . '&type=atom'), 'alternate', 'rel', $attribs);
		}
	}
protected function addFeed()
	{
		if ($this->params->get('show_feed_link', 1) == 1)
		{
			$link    = '&format=feed&limitstart=';
			$attribs = array('type' => 'application/rss+xml', 'title' => 'RSS 2.0');
			$this->document->addHeadLink(JRoute::_($link . '&type=rss'), 'alternate', 'rel', $attribs);
			$attribs = array('type' => 'application/atom+xml', 'title' => 'Atom 1.0');
			$this->document->addHeadLink(JRoute::_($link . '&type=atom'), 'alternate', 'rel', $attribs);
		}
	}
protected function addFeed ( ) { if ( $ this -> params -> get ( 'show_feed_link' , 1 ) == 1 ) { $ link = '&format=feed&limitstart=' ; $ attribs = array ( 'type' => 'application/rss+xml' , 'title' => 'RSS 2.0' ) ; $ this -> document -> addHeadLink ( JRoute :: _ ( $ link . '&type=rss' ) , 'alternate' , 'rel' , $ attribs ) ; $ attribs = array ( 'type' => 'application/atom+xml' , 'title' => 'Atom 1.0' ) ; $ this -> document -> addHeadLink ( JRoute :: _ ( $ link . '&type=atom' ) , 'alternate' , 'rel' , $ attribs ) ; } }
Method to add an alternative feed link to a category layout.

@return  void

@since   3.2
Method to add an alternative feed link to a category layout .