什么Schema.org类型用于个人技能?

时间:2015-09-22 13:39:53

标签: schema.org

我不知道Schema.org类型可以用于我的工作中的专业团队。

我有类似的东西:

<thead>
<tr ng-repeat="d in data">
   <th ng-if="$parent.$index == 0" ng-repeat="(key, value) in d">
       {{key}}
   </th>
</tr>

我可以使用public function behaviors() { return [ [ 'class' => AttributeBehavior::className(), 'attributes' => [ ActiveRecord::EVENT_BEFORE_INSERT => 'yourAttrib', ], 'value' => function ($event) { $code = "N/A"; if(!empty($this->owner->yourAttrib)) { $code = $this->owner->yourAttrib; //here change your attribute accordingly } return $code; }, ], //other behaviors ]; } 类型,但我不知道该用什么来指定此人的资格/技能。

有什么想法吗?

2 个答案:

答案 0 :(得分:1)

我使用Person模式取得了成功:itemprop =&#34; jobTitle&#34;和itemprop =&#34;知道&#34;。

然后,您可以直接在简历中添加链接,以突出您的技能或关于页面:

<span class="resume" itemprop="knows">
    <a href="https://www.hillwebcreations.com/about-jeannie-hill/" title="About Jeanne" target="_blank" itemprop="url">
    <img src="https://www.hillwebcreations.com/wp-content/uploads/2014/05/hill-web-creations-Jeannie-Hill.jpg" alt="example of how to add skills via schema" itemprop="url">
    </a>
</span>

最近,每个带有Person模式的页面都出现了一个新的错误,指出它缺少homeLocation。我们的Google合作伙伴支持部门提供的消息称,搜索控制台中的这些错误会自行更正,并很快就会中断。但是,与此同时,我可以通过添加以下代码来消除错误通知:

<div itemprop="homeLocation" itemscope itemtype="http://schema.org/PostalAddress">
<strong>Residence:</strong>
<span itemprop="addressLocality">Minneapolis</span>,
<span itemprop="addressCountry" itemscope itemtype="http://schema.org/Country">
  <span itemprop="name">USA</span>
</span>

您可以在GitHub上找到有关如何操作的详细信息。或者从我自己的网站借用想法:Hill Web Marketing

答案 1 :(得分:0)

每个人都由Person代表。

您可以使用该页面第一个表格中定义的所有属性,即来自PersonThing的属性。

正如您将看到的,没有技能/资格的属性。

根据您的实际情况,您可能会使用jobTitle property。对于此人的短文本(可能包含有关技能/资格的信息),您可以使用description property

相关问题