Here are the tags and what happens
Code: Select all
$document->setMetadata('Description', $this->image->title); //-results in two meta description tags the new one and the default
$document->setMetadata('Generator', 'generator tag test'); //- results in two meta generator tags the new one and the default joomla one
$document->setMetadata('Keywords', 'Keywords'); // - results in two meta keywords tags, the new one and the default joomla
$document->setMetadata('robots', 'robots'); //- Replaces robots tag as it should
$mainframe->setPageTitle($this->image->title); //- creates custom title as it should