<commit_before><?php
    $this->params['breadcrumbs'] = $breadcrumbs;
?>
<div class="column-two-third single">
    <div class="flexslider">
        <ul class="slides">
            <li>
                <img src="<?= $news->getThumbLink( "topNews" ); ?>"
                     alt="<?= \yii\helpers\Html::encode( $news->title ); ?>"/>
            </li>
        </ul>
    </div>

    <h6 class="title"><?= \yii\helpers\Html::encode( $news->title ); ?></h6>
    <span class="meta"><?= Yii::$app->formatter->asDate( $news->created_at,
            "php:" . Yii::$app->params['newsDateFormat'] ); ?>
        .   <?php if ($categories = $news->getCategoryList()): ?>
            <?php foreach ($categories as $category): ?>
                \\ <a href="<?= $category->getLink(); ?>"><?= $category->name; ?></a>
            <?php endforeach; ?>
                <?php endif; ?></span>
    <?php foreach ($news->pendingNews as $item): ?>
        <div class="pendingNews" id="<?= $item->id; ?>" style="display: none;">
            <p>Источник: <a href="<?= $item->source->url; ?>" target="_blank"><?= $item->source->label; ?></a></p>
            <?= \yii\helpers\HtmlPurifier::process( $item->content ); ?>
        </div>
    <?php endforeach; ?>
    <ul class="sharebox"><commit_msg>added microdata for single news<commit_after><?php
    $this->params['breadcrumbs'] = $breadcrumbs;
?>
<div itemscope itemtype="http://schema.org/Article" class="column-two-third single">
    <?php foreach ($news->pendingNews as $item): ?>
        <meta itemprop="articleBody" content="<?= \yii\helpers\Html::encode( $item->content ); ?>"/>
    <?php endforeach; ?>
    <div class="flexslider">
        <ul class="slides">
            <li>
                <img itemprop="image" src="<?= $news->getThumbLink( "topNews" ); ?>"
                     alt="<?= \yii\helpers\Html::encode( $news->title ); ?>"/>
            </li>
        </ul>
    </div>

    <h6 itemprop="name" class="title"><?= \yii\helpers\Html::encode( $news->title ); ?></h6>
    <span class="meta"><span itemprop="datePublished" content="<?= Yii::$app->formatter->asDate( $news->created_at,
            "php:" . Yii::$app->params['newsDateFormat'] ); ?>"><?= Yii::$app->formatter->asDate( $news->created_at,
                "php:" . Yii::$app->params['newsDateFormat'] ); ?></span>
        .   <?php if ($categories = $news->getCategoryList()): ?>
            <span itemprop="articleSection">
            <?php foreach ($categories as $category): ?>
                \\ <a href="<?= $category->getLink(); ?>"><?= $category->name; ?></a>
            <?php endforeach; ?>
            </span>
                <?php endif; ?></span>
    <?php foreach ($news->pendingNews as $item): ?>
        <div class="pendingNews" id="<?= $item->id; ?>" style="display: none;">
            <p>Источник: <a href="<?= $item->source->url; ?>" target="_blank"><?= $item->source->label; ?></a></p>
            <?= \yii\helpers\HtmlPurifier::process( $item->content ); ?>
        </div>
    <?php endforeach; ?>
    <ul class="sharebox">
{'fraction_non_alphanumeric': 0.2394227615611676, 'fraction_numerical': 0.0013119055428009183, 'mean_word_length': 2.588235294117647, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 0, '>': 130, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5911454', 'n_tokens_mistral': 955, 'n_tokens_neox': 980, 'n_words': 181}