google search - Rich-snippets - Double movie authors -


i did not understand how behave in case there multiple items of same type, writers of movie. have repeat itemprop="author" each writer or can include them in single div?

<div itemprop="author" itemscope itemtype="http://schema.org/person">     <span itemprop="name"><a href="#">cesare frugoni</a></span>     <span itemprop="name"><a href="#">enrico vanzina</a></span> </div> 

or

<div itemprop="author" itemscope itemtype="http://schema.org/person">     <span itemprop="name"><a href="#">enrico vanzina</a></span> </div> <div itemprop="author" itemscope itemtype="http://schema.org/person">     <span itemprop="name"><a href="#">cesare frugoni</a></span> </div> 

the latter right. first snippet means person have 2 names (which not uncommon situation really). can check using google or yandex validators. give smth this

person itemtype = http://schema.org/person name = cesare frugoni name = enrico vanzina 

and (i believe) need

person itemtype = http://schema.org/person name = enrico vanzina  person itemtype = http://schema.org/person name = cesare frugoni 

schema.org provides example case @ schema.org/movie .

<div itemscope itemtype="http://schema.org/movie">  <h1 itemprop="name">pirates of carribean: on stranger tides (2011)</h1> <span itemprop="description">jack sparrow , barbossa embark on quest  find elusive fountain of youth, discover blackbeard ,  daughter after too.</span> director:  <div itemprop="director" itemscope itemtype="http://schema.org/person"> <span itemprop="name">rob marshall</span> </div> writers:  <div itemprop="author" itemscope itemtype="http://schema.org/person"> <span itemprop="name">ted elliott</span> </div> <div itemprop="author" itemscope itemtype="http://schema.org/person"> <span itemprop="name">terry rossio</span> </div> , , 7 more credits stars:  <div itemprop="actor" itemscope itemtype="http://schema.org/person"> <span itemprop="name">johnny depp</span>,  </div> <div itemprop="actor" itemscope itemtype="http://schema.org/person"> <span itemprop="name">penelope cruz</span>, </div> <div itemprop="actor" itemscope itemtype="http://schema.org/person"> <span itemprop="name">ian mcshane</span> </div> </div> 

btw there lot of discussions around cardinality of schema.org properties. if you're interested in details can read corresponding materials: issue @ tracker , w3c wiki page.

and follow rule stated guha:

right now, allowed have multiple values.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -