【问题标题】:Use Google Search to search for an attribute in a Recipe Rich Snippet使用 Google 搜索在食谱丰富片段中搜索属性
【发布时间】:2016-03-23 04:39:53
【问题描述】:

许多带有食谱的网站都使用http://schema.org/ 标记,例如,

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Recipe",
  "cookTime": "PT0M",
  "datePublished": "2008-03-22",
  "description": "Lothars beste N&amp;uuml;rnberger Elisenlebkuchen, ein sehr sch&amp;ouml;nes Rezept mit Bild aus der Kategorie Kekse &amp;amp; Pl&amp;auml;tzchen. 602 Bewertungen: &amp;Oslash; 4,8. Tags: Backen, Kekse, Weihnachten",
  "image": "http://static.chefkoch-cdn.de/ck.de/rezepte/101/101059/850506-960x720-lothars-beste-nuernberger-elisenlebkuchen.jpg",
  "recipeIngredient": [
    "6  Ei(er) ",
    …

如何在网页中搜索带有 JSON-LD 代码且使用此架构的页面(例如,由 "@context": "http://schema.org""@type": "Recipe" 组合标识)或可能由属性 recipeIngredient 标识?

【问题讨论】:

    标签: google-search schema.org json-ld google-rich-snippets structured-data


    【解决方案1】:

    Google Search 不提供允许您搜索 (Schema.org) 类型或属性值的运算符。

    (相关:Google CSE 允许您创建一个自定义搜索引擎,该引擎仅在带有 Schema.org Recipe 标记的页面中搜索。)

    【讨论】:

    • 是否有任何搜索引擎可以使用 schema.org 类型来过滤结果?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-04-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多