-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
It seems there's an issue with nested itemscopes
It do not extract itemprops in nested itemscopes
It looks like this:
[location] => Array
(
[0] => stdClass Object
(
[properties] => Array
(
[address] => Array
(
[0] => ERROR
)
...
But there are properties inside "address":
[location] => Array
(
[0] => stdClass Object
(
[properties] => Array
(
[address] => Array
(
[0] => stdClass Object
(
[properties] => Array
(
[streetAddress] => Array
(
[0] => Rheinstraße 66
)
...
html:
<div class="content-block clearfix" id="location" itemprop="location" itemscope itemtype="http://schema.org/Place">
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<strong>Addresse:</strong>
<span itemprop="streetAddress">Rheinstraße 66</span>,
<span itemprop="postalCode">55116</span>
<span itemprop="addressLocality">Mainz</span>,
<span itemprop="addressCountry">Germany</span>
</div>
</div>
This line of code https://github.com/linclark/MicrodataPHP/blob/2.0.x/src/MicrodataPhp.php#L112
Metadata
Metadata
Assignees
Labels
No labels