0

我正在标记医疗机构的工作人员,我想添加微数据。但我不确定如何给员工贴上标签。

可能是这样的:

<div itemscope itemtype="http://data-vocabulary.org/Person">

    <h3><span itemprop="affiliation">Marckay</span> Staff</h3>

    <h4 itemprop="title">Medico Fisiatra</h4>
        <span itemprop="name">Dra. María Sylvina Iaconianni</span>
        <span itemprop="name">Dr. Gustavo Adolfo Andrade</span>
        <span itemprop="name">Dr. Matías Merkusa</span>

    <h4 itemprop="title">Area Médica-Pediatria</h4>
        <span itemprop="name">Dra. Cecilia Petriz</span>

    <h4 itemprop="title">Kinesiologia</h4>
        <span itemprop="name">Lic. Constanza Alonso</span>
        <span itemprop="name">Lic. Maria Carolina Alvarez</span>
        <span itemprop="name">Lic. Cristina Elizabeth Amuchastegui</span>
        <span itemprop="name">Lic. Matias Damian Brito</span>
        <span itemprop="name">Lic. Maria Lourdes Campos</span>
        <span itemprop="name">Lic. Silvia Teresa Gimenez</span>
        <span itemprop="name">Lic. Magdalena Ines Macagno</span>
        <span itemprop="name">Lic. Rocio Martinez</span>
        <span itemprop="name">Lic. Jonathan Medina</span>
        <span itemprop="name">Lic. Sergio Mercado</span>

</div>

或者可能:

<div itemscope itemtype="http://data-vocabulary.org/Person">

    <h3><span itemprop="affiliation">Marckay</span> Staff</h3>

    <h4 itemprop="title">Medico Fisiatra</h4>
        <span itemprop="name">Dra. María Sylvina Iaconianni</span>
        <span itemprop="name">Dr. Gustavo Adolfo Andrade</span>
        <span itemprop="name">Dr. Matías Merkusa</span>
</div>
<div itemscope itemtype="http://data-vocabulary.org/Person">

    <h4 itemprop="title">Area Médica-Pediatria</h4>
        <span itemprop="name">Dra. Cecilia Petriz</span>

</div>
<div itemscope itemtype="http://data-vocabulary.org/Person">

    <h4 itemprop="title">Kinesiologia</h4>
        <span itemprop="name">Lic. Constanza Alonso</span>
        <span itemprop="name">Lic. Maria Carolina Alvarez</span>
        <span itemprop="name">Lic. Cristina Elizabeth Amuchastegui</span>
        <span itemprop="name">Lic. Matias Damian Brito</span>
        <span itemprop="name">Lic. Maria Lourdes Campos</span>
        <span itemprop="name">Lic. Silvia Teresa Gimenez</span>
        <span itemprop="name">Lic. Magdalena Ines Macagno</span>
        <span itemprop="name">Lic. Rocio Martinez</span>
        <span itemprop="name">Lic. Jonathan Medina</span>
        <span itemprop="name">Lic. Sergio Mercado</span>

</div>

否则我想象一个<div itemscope itemtype="http://data-vocabulary.org/Person">人,但会发生纠结。

你怎么看?

4

1 回答 1

1

在您的示例中,一个人将有多个名字。

您需要为每个人准备一个单独的项目。

<div>

    <h3><span>Marckay</span> Staff</h3>

    <h4>Medico Fisiatra</h4>
        <div itemscope itemtype="http://data-vocabulary.org/Person">
          <span itemprop="name">Dra. María Sylvina Iaconianni</span>
        </div>
        <div itemscope itemtype="http://data-vocabulary.org/Person">
          <span itemprop="name">Dr. Gustavo Adolfo Andrade</span>
        </div>
        <div itemscope itemtype="http://data-vocabulary.org/Person">
          <span itemprop="name">Dr. Matías Merkusa</span>
        </div>

    <h4>Area Médica-Pediatria</h4>
        <div itemscope itemtype="http://data-vocabulary.org/Person">
          <span itemprop="name">Dra. Cecilia Petriz</span>
        </div>

</div>

(这同样适用于 Schema.org 的Persontype,您可能希望使用它来代替 Data-Vocabulary.org。)

于 2014-11-08T00:39:16.330 回答