open graph (og:..)

<?
$rsSites = CSite::GetByID(SITE_ID);
$arSite = $rsSites->Fetch();
?>
<meta property="og:site_name" content="<?= $arSite['NAME']; ?>"/>
<meta property="og:title" content="<? $APPLICATION->ShowTitle() ?>"/>
<meta property="og:description" content="<?= $APPLICATION->ShowProperty("description"); ?>"/>
<meta property="og:url" content="http://<?= $_SERVER['SERVER_NAME'] ?><?= $APPLICATION->GetCurDir() ?>"/>
<meta property="og:image" content="/img/img.jpg"/>



Enter your email address:

Delivered by FeedBurner

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *