Habe den "Address"-Error nun wie folgt behoben:
HTML-Code:
<p itemprop="jobLocation" itemscope itemtype="http://schema.org/Place"><?php echo $arrItem['text']['tl_jobs_arbeitsort']; ?>
<span class="hidden" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">Bümplizstrasse 113</span>
<span itemprop="addressLocality">Schweiz</span>
<meta itemprop="addressRegion" content="Bern" />
<meta itemprop="postalCode" content="3018" />
</span>
</p>
Im gesamten sieht mein "metamodel_prerendered"-Template wie folgt aus:
HTML-Code:
<?php if (count($this->data)): ?>
<?php foreach ($this->data as $arrItem): ?>
<?php $this->block('item'); ?>
<meta itemprop="hiringOrganization" content="Organization" />
<meta itemprop="name" content="PubliJobs" />
<meta itemprop="sameAs" content="https://www.domain.ch" />
<meta itemprop="logo" content="https://www.domain.ch/files/layout/logo.png" />
<?php $timestamp = $arrItem['raw']['tl_jobs_timestamp']; ?>
<?php $datum = date("Y-m-d", $timestamp); ?>
<?php $bild = $arrItem['text']['tl_jobs_hintergrundbild']; ?>
<div class="headerimagetitle" style="background-image: url('<?php echo $bild; ?> ');" itemprop="image">
<div class="shadowgradient">
<h1 itemprop="title"><?php echo $arrItem['text']['tl_jobs_titel']; ?></h1>
</div>
</div>
<div class="ce_text">
<div class="shortinfo">
<p class="nonbottom"><strong>Arbeitsort:</strong></p>
<p itemprop="jobLocation" itemscope itemtype="http://schema.org/Place"><?php echo $arrItem['text']['tl_jobs_arbeitsort']; ?>
<span class="hidden" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">Strasse 00</span>
<span itemprop="addressLocality">Land</span>
<meta itemprop="addressRegion" content="Ort" />
<meta itemprop="postalCode" content="PLZ" />
</span>
</p>
</div>
<div class="shortinfo">
<p class="nonbottom"><strong>Pensum:</strong></p>
<p itemprop="employmentType"><?php echo $arrItem['text']['tl_jobs_pensum']; ?></p>
</div>
<div class="shortinfo">
<p class="nonbottom"><strong>Ab:</strong></p>
<p><?php echo $arrItem['text']['tl_jobs_datum']; ?></p>
</div>
<div class="shortinfo">
<p class="nonbottom"><strong>Vakanznummer:</strong></p>
<p><?php echo $arrItem['raw']['tl_jobs_timestamp']; ?></p>
<p class="hidden" itemprop="datePosted"><?php echo $datum; ?></p>
</div>
<h2>Stellenbeschreibung</h2>
<div class="abstandbottom" itemprop="description"><?php echo $arrItem['text']['tl_jobs_beschreibung']; ?></div>