Hallo,
in einer 4.4.46 kreidet Freund Google die events an - und zwar mit
Feld "location.address" fehlt
Ich erkenne wohl, woher diese Meldung kommt, aber weiss nicht, woher denn dann die Daten dazu kommen könnten.
Ich verwende in diesem Projekt die Erweiterung [kmielke/calendar-extended-bundle] und erhalte im template diesen Ausschnitt, der, so denke ich für das Konstrukt verantwortlich zeigt
PHP-Code:
<?php if ($this->location): ?>
<p class="location" itemprop="location" itemscope itemtype="http://schema.org/Place">
<span itemprop="name"><?= $this->location ?></span>
<?php if ($this->address): ?>
(<span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"><?= $this->address ?></span>)
<?php endif; ?>
</p>
<?php endif; ?>
<?php if ($this->location_link): ?>
<p class="location-link" itemprop="location" itemscope itemtype="http://schema.org/Place">
<a href="<?= $this->location_link ?>"target="_blank">weiterführende Infos zur Veranstaltung</a>
</p>
<?php endif; ?>
Wenn sich der Fehler durch befüllen von
PHP-Code:
<span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"><?= $this->address ?></span>
beheben lässt, dann OK - aber wo finde ich diese Adress-Felder?
Und im Standard, ohne Erweiterung, gibt es Adress-Felder ja auch gar nicht
Beispielevent https://ulc-horn.at/termin-detail/ma...rttag2020.html
was übersehe ich?
Lesezeichen