[ã¬ãã«: ä¸ç´]
schema.orgã®ãã³ãããªã¹ããGoogleã¯å
¬å¼ã«ãµãã¼ãããããã¥ã¡ã³ãã2é±éåã«æ´æ°ãã¾ããã
ãã®å¾ã2ã¤ã®éè¦ãªæ´æ°ãããã«ããã¥ã¡ã³ãã«å
¥ã£ã¦ãã¾ãã
ç¾å¨ã®ãã¼ã¸ããã³ãããªã¹ãã«å«ãããã©ãã
ç¾å¨ã®ãã¼ã¸ã¯ãã³ãããªã¹ãã«å«ãã¦ãå«ããªãã¦ãã©ã¡ãã§ããã¾ãã¾ããã
schema.orgã®ãã³ãããªã¹ãã®è¨è¿°ä¾ã«ã¯ãç¾å¨ã®ãã¼ã¸ãå«ã¾ãã¦ãã¾ããã
ãã¨ãã°ãã¹ãã£ã¼ãã³ã»ãã³ã°ãæ¸ããå°èª¬ããã¶ã»ã¹ã¿ã³ããã®ååãã¼ã¸ã§ã¯æ¬¡ã®ããã«ãã³ãããªã¹ããè¨å®ã§ãã¾ãã
- ãã¼ã âº æ¬ âº èè ⺠ã¹ãã£ã¼ãã³ã»ãã³ã° ⺠ã¶ã»ã¹ã¿ã³ã
æå¾ã®ãã¶ã»ã¹ã¿ã³ããã示ããã¼ã¸ã¯ãã¤ã¾ãèªåèªèº«ã§ãã
ããããã¶ã»ã¹ã¿ã³ããã®ãã¼ã¸ã§æ¬¡ã®ãããªãã³ãããªã¹ããè¨å®ãã¦ããã¨ãã¦ããï¼Googleã«å¯¾ãã¦ã¯ï¼ã¾ã£ããåãå½¹å²ãæããã¾ãã
- ãã¼ã âº æ¬ âº èè ⺠ã¹ãã£ã¼ãã³ã»ãã³ã°
æå¾ã®ãã¶ã»ã¹ã¿ã³ããã®ãã³ãããçç¥ãã¦ãã¾ãã
ä¸è¬çã«ã¯ãç¾å¨ã®ãã¼ã¸ããã³ãããªã¹ãã«å«ãããã¨ãå¤ãããã«æãã¾ãã
ã¨ããããGoogleã®ããã¥ã¡ã³ãã®è¨è¿°ä¾ã«ã¯ç¾å¨ã®ãã¼ã¸ãå«ã¾ãã¦ãã¾ããã
ãå«ããªãã¦ãããã®ã ãããï¼ãã¨çåãæ±ãã人ãããã®ã§ã¯ãªãã§ããããï¼åã¯æ±ãã¾ããï¼ã
çãã¯ãå«ãã¦ãå«ããªãã¦ãã©ã¡ãã§ãããã¨ãããã¨ã«ãªãã¾ãã
ã¨ããã§è¨è¿°ä¾ã«ã¯ããHOMEãã®ããã«ããããã¼ã¸ã示ããã³ãããå«ã¾ãã¦ãã¾ããã
ããããã£ã¦ããªãã¦ãã©ã¡ãã§ãããã®ã§ããããï¼
確èªãã¦ã¿ã¾ãã
è¤æ°ãã³ãããªã¹ã
ãµã¤ãã«ãã£ã¦ã¯ã1ã¤ã®ãã¼ã¸ã«å¯¾ãã¦2ã¤ä»¥ä¸ã®ãã³ãããªã¹ããè¨ç½®ãã¦ããã±ã¼ã¹ãããã¾ãã
è¸è¡ âº æ¬ âº è©©
æå¦ âº è©©
schema.orgãç¨ããè¤æ°ã®ãã³ãããªã¹ããGoogleã¯ãµãã¼ããã¦ãã¾ãã
ããã¥ã¡ã³ãã«è¤æ°ãã³ãããªã¹ãã®è¨è¿°ä¾ãå ããã¾ããã
ãã¡ãã¯JSON-LDãã·ã³ã¿ãã¯ã¹ã«ä½¿ã£ãè¤æ°ãã³ãããªã¹ãã®è¨è¿°ä¾ã§ãã
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement":
[
{
"@type": "ListItem",
"position": 1,
"item":
{
"@id": "https://example.com/arts",
"name": "è¸è¡"
}
},
{
"@type": "ListItem",
"position": 2,
"item":
{
"@id": "https://example.com/arts/books",
"name": "æ¬"
}
},
{
"@type": "ListItem",
"position": 3,
"item":
{
"@id": "https://example.com/arts/books/poetry",
"name": "è©©"
}
}
]
}
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement":
[
{
"@type": "ListItem",
"position": 1,
"item":
{
"@id": "https://example.com/literature",
"name": "æå¦"
}
},
{
"@type": "ListItem",
"position": 2,
"item":
{
"@id": "https://example.com/literature/poetry",
"name": "è©©"
}
}
]
}
</script>
<script type="application/ld+json">
ã§å§ã¾ããã³ãããªã¹ããåç´ã«2ã¤è¨è¿°ãã¦ããã ãã§ãã
ãã¡ãã¯microdataã§ã®è¨è¿°ä¾ã§ãï¼ããã¥ã¡ã³ãã§ã¯ãJSON-LDãRDFaãmicrodataã®é ã§è¨è¿°ä¾ãåºã¦ãã¾ããmicrodataã¯åæç¶æ ã§åºã¦ããªãããããã¾ãããå³ã«ããããã£ã¨è¦ããã®ãããããã¦ã³ããé¸æã§ãã¾ãï¼ã
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope
itemtype="http://schema.org/ListItem">
<a itemprop="item" href="https://example.com/arts">
<span itemprop="name">è¸è¡</span></a>
<meta itemprop="position" content="1" />
</li>
âº
<li itemprop="itemListElement" itemscope
itemtype="http://schema.org/ListItem">
<a itemprop="item" href="https://example.com/arts/books">
<span itemprop="name">æ¬</span></a>
<meta itemprop="position" content="2" />
</li>
âº
<li itemprop="itemListElement" itemscope
itemtype="http://schema.org/ListItem">
<a itemprop="item" href="https://example.com/arts/books/poetry">
<span itemprop="name">è©©</span></a>
<meta itemprop="position" content="3" />
</li>
</ol>
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope
itemtype="http://schema.org/ListItem">
<a itemprop="item" href="https://example.com/literature">
<span itemprop="name">æå¦</span></a>
<meta itemprop="position" content="1" />
</li>
âº
<li itemprop="itemListElement" itemscope
itemtype="http://schema.org/ListItem">
<a itemprop="item" href="https://example.com/literature/poetry">
<span itemprop="name">è©©</span></a>
<meta itemprop="position" content="2" />
</li>
</ol>
JSON-LDã¨åãããã«ã<ol itemscope itemtype="http://schema.org/BreadcrumbList">
ã§è¨å®ãããã³ãããªã¹ããåç´ã«2ã¤ç¹°ãè¿ãã¦ããã ãã§ãã
ãã³ãããªã¹ããè¤æ°è¨ç½®ãã¦ããå ´åã®ãåªå
é ä½ã¨ããæ¦å¿µã¯ãªãããã§ããã
æ¤ç´¢çµæã®ãã³ãããªã¹ã表示ã«ã¯ãä¸ï¼HTMLã³ã¼ãã§å
ã«ãããã¦ããæ¹ï¼ãæ¡ç¨ãããã¨æ¨æ¸¬ãã¾ãã
JSON-LDã§ã²ã¨ã¾ã¨ãã«ãã¦è¨è¿°
ããã¯ãã¾ãã§ãã
microdataã¯ã¨ãããã¨ãã¦ãJSON-LDã® <script type="application/ld+json">
ã2åï¼ä»¥ä¸ï¼ç¹°ãè¿ãã®ã¯æ ¼å¥½æªãã¨æãã人ãããããããã¾ããã
ãã£ããã¨æ¸ããã¨ãã§ãã¾ãã
2ã¤ç´¹ä»ãã¾ãã
- Arrayã使ã
- @graphã使ã
Arrayã使ã
ã¾ããArrayï¼ã¢ã¬ã¤ï¼ã使ã£ãè¨è¿°ã§ãã
<script type="application/ld+json">
[{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement":
[
{
"@type": "ListItem",
"position": 1,
"item":
{
"@id": "https://example.com/arts",
"name": "è¸è¡"
}
},
{
"@type": "ListItem",
"position": 2,
"item":
{
"@id": "https://example.com/arts/books",
"name": "æ¬"
}
},
{
"@type": "ListItem",
"position": 3,
"item":
{
"@id": "https://example.com/arts/books/poetry",
"name": "è©©"
}
}
]
},
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement":
[
{
"@type": "ListItem",
"position": 1,
"item":
{
"@id": "https://example.com/literature",
"name": "æå¦"
}
},
{
"@type": "ListItem",
"position": 2,
"item":
{
"@id": "https://example.com/literature/poetry",
"name": "è©©"
}
}
]
}
]
</script>
<script type="application/ld+json">
ã1ã¤ã«ãªãã¾ããã
[]ï¼è§ã«ãã³ï¼ã§ãããArrayã¯è¤æ°ã®ããªã¥ã¼ãJSONãªãã¸ã§ã¯ããåæããåããæã£ã¦ãã¾ãããã
@graphã使ã
次㯠@graph ã使ã£ãè¨è¿°ã§ãã
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@graph" :
[
{
"@type": "BreadcrumbList",
"itemListElement":
[
{
"@type": "ListItem",
"position": 1,
"item":
{
"@id": "https://example.com/arts",
"name": "è¸è¡"
}
},
{
"@type": "ListItem",
"position": 2,
"item":
{
"@id": "https://example.com/arts/books",
"name": "æ¬"
}
},
{
"@type": "ListItem",
"position": 3,
"item":
{
"@id": "https://example.com/arts/books/poetry",
"name": "è©©"
}
}
]
},
{
"@type": "BreadcrumbList",
"itemListElement":
[
{
"@type": "ListItem",
"position": 1,
"item":
{
"@id": "https://example.com/literature",
"name": "æå¦"
}
},
{
"@type": "ListItem",
"position": 2,
"item":
{
"@id": "https://example.com/literature/poetry",
"name": "è©©"
}
}
]
}
]
}
<script>
<script type="application/ld+json">
ã«å ãã¦ã"@context": "http://schema.org"
ã1ã¤ã«ã§ãã¾ããã
@graph ã¯è¤æ°ã®âãã¼ãâãã°ã«ã¼ãåããããã«ä½¿ããããã¼ã¯ã¼ãã§ãã
Arrayã使ã£ã¦ã @graph ã使ã£ã¦ããGoogleã¯ãã¡ãã¨èªèãã¾ãã
æ§é åãã¼ã¿ãã¹ããã¼ã«ã§ããæ£ããæ¤è¨¼çµæããã¡ããè¿ã£ã¦ãã¾ãã
ãã¦ãæå¾ã®ãã¾ãã¯èã«ç½®ãã¦ãschema.orgã®è¤æ°ãã³ãããªã¹ããGoogleããµãã¼ããã¦ãããã¨ããã®è¨äºã§ã¯ä¼ãã¾ããã
1ã¤ã®ãã¼ã¸ã«è¤æ°ã®ãã³ãããªã¹ããããªãã®ãµã¤ãã§è¨ç½®ãã¦ãããªããå©ç¨ãã¦ã¿ãã¨ããã§ãããã
ãªãschema.orgã§è¨è¿°ãããã³ãããªã¹ãã®æ¤ç´¢çµæ表示ã®ä¸å
·åã¯ãããã解æ¶ããã¦ããããã§ã ç¾å¨ãç¶ãã¦ãã¾ããã
ã§ããããã¦ãã®å ´åãã¤ã³ããã¯ã¹ç´å¾ã¯éè¤ãè¦ãããã¨ãã¦ãã1ã2æ¥ã»ã©çµéããã¨æ£å¸¸ã«ãªãã¾ãã