Google 的 SDTT 无法确定我的位置
Google's SDTT doesn't figure out my location
我刚刚开始尝试使用 Schema.org。我在我的网站页脚(在 WordPress 上)的文本中自定义了一些模式。
当我使用 Google Structured Data Testing Tool 测试我的页面时,返回错误,我需要找出原因。
我住在英国多塞特郡韦勒姆,但 Google 工具似乎无法识别我的位置?
我的微数据如下:
<div itemscope itemtype=”http://schema.org/ProfessionalService“>
<link itemprop=”additionalType” href=”http://www.productontology.org/doc/Wedding_photography” />
<b><span style="color:#88cccf; font-size: 15pt" itemprop="member" itemscope itemtype="http://schema.org/Organization">Velvet Bliss Photography</span></b><br>
<em>Photography by <span itemprop="name">Brett McNally</span></em><br> <br>
<div>
I am a professional freelance <span itemprop="jobtitle">photographer</span> based in <span itemprop=”address” itemscope itemtype=”http://schema.org/PostalAddress”>
<span itemprop=”addressLocality”>Wareham</span>,
<span itemprop=”addressRegion”>Dorset</span>. I provide <span itemprop=”name”>Wedding Photography</span> & <span itemprop=”name”>Portrait Photography</span> services in Dorset and I take on commissions for wedding photography all over the <span itemprop="addressCountry">UK</span>, as well as internationally for destination weddings.
</div><br>
<div>Contact me: <span itemprop=”telephone”>07470 201325</span>
</div>
<link rel="author" href="https://plus.google.com/u/0/117967472486546237170">
<link rel="publisher" https://plus.google.com/u/0/114441860370278522542">
<br>
<em><span style="font-size: 9pt">You can also find me on these social media websites:</span></em>
在英国,我的地址是:
Town / City: Wareham
County: Dorset
但是模式似乎没有识别出我们在地图上?
我明白了!一开始并不明显,但我想我发现问题是非标准引号。我替换了它们,然后在 Google 测试工具中进行了测试,现在它全部显示为绿色(只有一个标签,即职位名称不是专业实体的一部分),否则所有模式都已识别,请测试:
<div itemscope itemtype="http://schema.org/ProfessionalService">
<link itemprop="additionalType" href="http://www.productontology.org/doc/Wedding_photography" />
<b><span style="color:#88cccf; font-size: 15pt" itemprop="member" itemscope itemtype="http://schema.org/Organization">Velvet Bliss Photography</span></b><br>
<em>Photography by <span itemprop="name">Brett McNally</span></em><br> <br>
<div>
I am a professional freelance <span itemprop="jobtitle">photographer</span> based in <span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="addressLocality">Wareham</span>,
<span itemprop="addressRegion">Dorset</span>. I provide <span itemprop="name">Wedding Photography</span> & <span itemprop="name">Portrait Photography</span> services in Dorset and I take on commissions for wedding photography all over the <span itemprop="addressCountry">UK</span>, as well as internationally for destination weddings.
</div><br>
<div>Contact me: <span itemprop="telephone">07470 201325</span>
</div>
<link rel="author" href="https://plus.google.com/u/0/117967472486546237170">
<link rel="publisher" https://plus.google.com/u/0/114441860370278522542">
<br>
<em><span style="font-size: 9pt">You can also find me on these social media websites:</span></em>
我刚刚开始尝试使用 Schema.org。我在我的网站页脚(在 WordPress 上)的文本中自定义了一些模式。
当我使用 Google Structured Data Testing Tool 测试我的页面时,返回错误,我需要找出原因。
我住在英国多塞特郡韦勒姆,但 Google 工具似乎无法识别我的位置?
我的微数据如下:
<div itemscope itemtype=”http://schema.org/ProfessionalService“>
<link itemprop=”additionalType” href=”http://www.productontology.org/doc/Wedding_photography” />
<b><span style="color:#88cccf; font-size: 15pt" itemprop="member" itemscope itemtype="http://schema.org/Organization">Velvet Bliss Photography</span></b><br>
<em>Photography by <span itemprop="name">Brett McNally</span></em><br> <br>
<div>
I am a professional freelance <span itemprop="jobtitle">photographer</span> based in <span itemprop=”address” itemscope itemtype=”http://schema.org/PostalAddress”>
<span itemprop=”addressLocality”>Wareham</span>,
<span itemprop=”addressRegion”>Dorset</span>. I provide <span itemprop=”name”>Wedding Photography</span> & <span itemprop=”name”>Portrait Photography</span> services in Dorset and I take on commissions for wedding photography all over the <span itemprop="addressCountry">UK</span>, as well as internationally for destination weddings.
</div><br>
<div>Contact me: <span itemprop=”telephone”>07470 201325</span>
</div>
<link rel="author" href="https://plus.google.com/u/0/117967472486546237170">
<link rel="publisher" https://plus.google.com/u/0/114441860370278522542">
<br>
<em><span style="font-size: 9pt">You can also find me on these social media websites:</span></em>
在英国,我的地址是:
Town / City: Wareham
County: Dorset
但是模式似乎没有识别出我们在地图上?
我明白了!一开始并不明显,但我想我发现问题是非标准引号。我替换了它们,然后在 Google 测试工具中进行了测试,现在它全部显示为绿色(只有一个标签,即职位名称不是专业实体的一部分),否则所有模式都已识别,请测试:
<div itemscope itemtype="http://schema.org/ProfessionalService">
<link itemprop="additionalType" href="http://www.productontology.org/doc/Wedding_photography" />
<b><span style="color:#88cccf; font-size: 15pt" itemprop="member" itemscope itemtype="http://schema.org/Organization">Velvet Bliss Photography</span></b><br>
<em>Photography by <span itemprop="name">Brett McNally</span></em><br> <br>
<div>
I am a professional freelance <span itemprop="jobtitle">photographer</span> based in <span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="addressLocality">Wareham</span>,
<span itemprop="addressRegion">Dorset</span>. I provide <span itemprop="name">Wedding Photography</span> & <span itemprop="name">Portrait Photography</span> services in Dorset and I take on commissions for wedding photography all over the <span itemprop="addressCountry">UK</span>, as well as internationally for destination weddings.
</div><br>
<div>Contact me: <span itemprop="telephone">07470 201325</span>
</div>
<link rel="author" href="https://plus.google.com/u/0/117967472486546237170">
<link rel="publisher" https://plus.google.com/u/0/114441860370278522542">
<br>
<em><span style="font-size: 9pt">You can also find me on these social media websites:</span></em>