Car Rentals schema架构作为取件/降落位置
在电子邮件标记测试程序中,错误
'属性Geo对此类对象无效'
显示
在下面的代码中,从CarRental模式中使用了pickupLocation模式。在这些中使用GeoCoordinates模式会引发错误。 代码:
<tr>
<td valign="top" style="padding: 0 0 10px 0;">
<!-- LEFT COLUMN -->
<table cellpadding="0" cellspacing="0" border="0" width="26%" align="left" class="responsive-table">
<tr>
<td align="center" style="padding: 0 0 0 0; font-family: 'Open Sans', Helvetica, Arial, sans-serif; color: #999999; font-weight: 600; font-size: 12px; line-height: 22px; text-align: left;" bgcolor="#ffffff" class="flex-p-bold">
Pickup Address:
</td>
</tr>
</table>
<!-- RIGHT COLUMN -->
<table cellpadding="0" cellspacing="0" border="0" width="70%" align="right" class="responsive-table">
<tr itemprop="pickupLocation" itemscope itemtype="http://schema.org/Place">
<td align="center" style="padding: 0 0 0 0; font-family: Arial, sans-serif; color: #333333; font-family: 'Open Sans', Helvetica, Arial, sans-serif; color: #999999; font-weight: 400; font-size: 12px; text-align: left;" bgcolor="#ffffff" class="flex-p">
<span class="appleBody" style="color:#999999;">
<meta itemprop="name" content="Linkshelf - Pickup Location">
<span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">12345 Main Street <br />
<span itemprop="addressLocality">Koramangala <br />
<span itemprop="addressRegion">Bengaluru <br />
<span itemprop="postalCode">560034 <br />
<span itemprop="telephone">12345678 <br />
<meta itemprop="addressCountry" content = "India">
<span itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
<meta itemprop="latitude" content="40.75" />
<meta itemprop="longitude" content="73.98" />
</span>
</span>
</td>
</tr>
</table>
</td>
</tr>