Carsten Götzinger
11e3e2817c
Microdata auf schema.org umgestellt ID für News-Rating wird nicht mehr überschrieben
57 lines
2.8 KiB
Plaintext
57 lines
2.8 KiB
Plaintext
|
|
<?php if ($this->rateit_rating_before): ?>
|
|
<!-- indexer::stop -->
|
|
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
|
|
<div id="<?php echo $this->ratingId; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>">
|
|
<?php if ($this->showBefore) : ?>
|
|
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div>
|
|
<?php endif; ?>
|
|
<div class="wrapper">
|
|
<div class="rateItRating-selected" style="display: block;"></div>
|
|
<div class="rateItRating-hover"></div>
|
|
</div>
|
|
<?php if ($this->showAfter) : ?>
|
|
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div>
|
|
<?php endif; ?>
|
|
</div>
|
|
<span class="rating-microdata" itemprop="name"><?php echo $this->itemreviewed; ?></span>
|
|
<span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
|
|
<span itemprop="ratingValue"><?php echo $this->actRating; ?></span>
|
|
<span itemprop="worstRating">0</span>
|
|
<span itemprop="bestRating"><?php echo $this->maxRating; ?></span>
|
|
<span itemprop="ratingCount"><?php echo $this->votes; ?></span>
|
|
</span>
|
|
</div>
|
|
<!-- indexer::continue -->
|
|
<?php endif; ?>
|
|
|
|
<div class="layout_simple block<?php echo $this->class; ?>">
|
|
<?php if ($this->date): ?><time datetime="<?php echo $this->datetime; ?>"><?php echo $this->date; ?></time> <?php endif; ?><?php echo $this->linkHeadline; ?>
|
|
</div>
|
|
|
|
<?php if ($this->rateit_rating_after): ?>
|
|
<!-- indexer::stop -->
|
|
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
|
|
<div id="<?php echo $this->ratingId; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>">
|
|
<?php if ($this->showBefore) : ?>
|
|
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div>
|
|
<?php endif; ?>
|
|
<div class="wrapper">
|
|
<div class="rateItRating-selected" style="display: block;"></div>
|
|
<div class="rateItRating-hover"></div>
|
|
</div>
|
|
<?php if ($this->showAfter) : ?>
|
|
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div>
|
|
<?php endif; ?>
|
|
</div>
|
|
<span class="rating-microdata" itemprop="name"><?php echo $this->itemreviewed; ?></span>
|
|
<span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
|
|
<span itemprop="ratingValue"><?php echo $this->actRating; ?></span>
|
|
<span itemprop="worstRating">0</span>
|
|
<span itemprop="bestRating"><?php echo $this->maxRating; ?></span>
|
|
<span itemprop="ratingCount"><?php echo $this->votes; ?></span>
|
|
</span>
|
|
</div>
|
|
<!-- indexer::continue -->
|
|
<?php endif; ?>
|