我是任何编码的新手,并将自己整合在一起。我有一个服务区业务...没有实体店......我们覆盖了加利福尼亚州萨克拉门托半径30英里。这是我为我的主页制作的JSON-LD。 我想我应该为其他页面制作JSON-LD模式,但不知道该放哪个不同于此? 我也觉得我错过了能够帮助我解决搜索结果的东西,但我不确定是什么。我对所有反馈持开放态度! 网站:www.yogabearpc.com 这是我目前的主页代码:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "ProfessionalService",
"address": {
"@type": "PostalAddress",
"addressLocality": "Sacramento",
"addressRegion": "CA",
"postalCode":"95816",
"streetAddress": ""
},
"description": "Yoga Bear Computer Repair is a mobile and onsite computer repair company in Sacramento, CA. Rated #1, we repair laptops, desktops, PCs, and Apple Macs.",
"name": "Yoga Bear Computer Repair",
"telephone": "916-800-3035",
"openingHours": "Mo-Su 00:00-24:00",
"geo": {
"@type": "GeoCoordinates",
"latitude": "38.56",
"longitude": "-121.47"
},
"logo": "http://www.yogabearpc.com/wp-content/uploads/2016/05/logo.jpg",
"email":"mailto:yogabearpc@gmail.com",
"url":"http://www.yogabearpc.com/",
"sameAs" : [ "https://www.facebook.com/yogabearpc",
"http://www.twitter.com/YogaBearPC",
"https://plus.google.com/+YogaBearPCRepairSacramento",
"https://www.instagram.com/yogabearpc/",
"https://www.linkedin.com/in/yoga-bear-computer-repair-178a32111",
"https://www.pinterest.com/yogabearpc/",
"https://www.youtube.com/channel/UCHmmLsYH9252HxlOjXD9t9w",
"https://www.yelp.com/biz/yoga-bear-computer-repair-sacramento-2"]
}
答案 0 :(得分:0)
<强> EDITED 强>
考虑一下:
@builder
您希望更新特定值,例如徽标尺寸。这些维度是Google-Manadatory。
您还可以添加服务时间的时区信息(我没有查找<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "ProfessionalService",
"name": "Yoga Bear Computer Repair",
"description": "Yoga Bear Computer Repair is a mobile and onsite computer repair company in Sacramento, CA. Rated #1, we repair laptops, desktops, PCs, and Apple Macs.",
"areaServed": [{
"@type": "Place",
"geo": {
"@type": "GeoCircle",
"geoMidpoint": {
"@type": "GeoCoordinates",
"latitude": "38.56",
"longitude": "-121.47"
},
"geoRadius": "50"
}
},
{
"@type": "Place",
"hasMap": "place URL to map here; e.g. the Google map URL"
},
{
"@type": "Place",
"address": {
"@type": "PostalAddress",
"addressLocality": "Sacramento",
"addressRegion": "CA",
"postalCode": "95816"
}
}],
"address": {
"@type": "PostalAddress",
"addressLocality": "Sacramento",
"addressRegion": "CA",
"postalCode": "95816",
"streetAddress": ""
},
"contactPoint": {
"@type": "ContactPoint",
"url": "http://www.yogabearpc.com/",
"contactType": "customer service",
"telephone": "+1.916.800.3035",
"email": "yogabearpc@gmail.com",
"hoursAvailable": {
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"],
"opens": "08:00",
"closes": "18:00"
}
},
"logo": {
"@type": "ImageObject",
"url": "http://www.yogabearpc.com/wp-content/uploads/2016/05/logo.jpg",
"width": {
"@type": "QuantitativeValue",
"value": "xx"
},
"height": {
"@type": "QuantitativeValue",
"value": "xx"
}
},
"url": "http://www.yogabearpc.com/",
"sameAs": ["https://www.facebook.com/yogabearpc",
"http://www.twitter.com/YogaBearPC",
"https://plus.google.com/+YogaBearPCRepairSacramento",
"https://www.instagram.com/yogabearpc/",
"https://www.linkedin.com/in/yoga-bear-computer-repair-178a32111",
"https://www.pinterest.com/yogabearpc/",
"https://www.youtube.com/channel/UCHmmLsYH9252HxlOjXD9t9w",
"https://www.yelp.com/biz/yoga-bear-computer-repair-sacramento-2"]
}
</script>
的值。)