//Протокол Open Graph $document =& JFactory :: getDocument(); if($this->item->metadesc == "") {$desc = strip_tags($this->item->introtext);} else {$desc = $this->item->metadesc;} //Описание публикации $document -> addCustomTag( ' ');