我想知道是否有人可以提供帮助?

Google宣布之后 这将注意到用于在线食谱的RDFA /微型机构,我一直在研究我运行的几个基于食谱的网站。但是,我们根本没有所有必需的数据来满足任何标准。

这很重要吗?搜索引擎爬网仍然会充分利用他们找到的东西,或者缺少一些元素(例如评论或配方评分),我会浪费时间吗?

另外,如果出于格式的原因,我必须在信息周围添加额外的div,这是否使所有信息无效?

欢呼,h

有帮助吗?

解决方案

hrecipe 草稿规格。

Hrecipe模式包括以下属性:

* hrecipe
      o fn. required. text. the name of the recipe.
      o ingredient. required. 1 or more. text with optional valid (x)HTML markup.
            + value and type. optional. [experimental] 
      o yield. optional. text.
      o instructions. optional. text with optional valid (x)HTML markup.
      o duration. optional. 1 or more. text.
      o photo. optional. 1 or more. using any element containing a URL, such as IMG. [experimental]
      o summary. optional. text. [experimental]
      o author. optional. 1 or more. [experimental]
      o published. optional. [experimental]
      o nutrition. optional. 1 or more. [experimental]
            + value and type. optional. [experimental] 
      o tag. optional. 1 or more. [experimental] 

如果您查看所需的字段 fningredient 是强制性的,其他字段是可选的。
以下示例是有效的Hrecipe食谱:

  <div class="mydivclass1">
   <h1 class="fn">Spaghetti al ragù</h1>
     <div class="myfancydiv2>Ingredients:</div>
   <span class="ingredient">
      spaghetti
   </span>
   <span class="ingredient">
      ragù
   </span>
 </div>

要检查您的微型成像,您可以使用凉爽 Optimus验证器.

其他提示

唯一的“必须有”标签是食谱的名称, fn 上课,如果您使用微型模具。但是,这必须是父母的孩子 hrecipe 班级名称可帮助索引器区分特殊数据和标准文本。

但!对此的支持刚刚发布,我无法告诉您是否仅包括配方名称会以任何方式帮助您;由于这是一些更改的问题,因此您可能想在网站上进行测试,等待几个星期,并在其余网站上使用,如果工作正常。

关于额外的divs,这应该没有任何区别。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top