• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/urlpreview/parser/schemaorg.php
  • Класс: BitrixMainUrlPreviewParserSchemaOrg
  • Вызов: SchemaOrg::handleNode
protected function handleNode(DOMElement $node)
{
	if($node->hasAttribute('itemprop') && !$node->hasAttribute('itemscope'))
	{
		$propertyName = mb_strtolower($node->getAttribute('itemprop'));
		$propertyValue = $this->getSchemaPropertyValue($node);
		$this->schemaMetadata[$propertyName] = $propertyValue;
	}
}