 taoFrazzlebatsPremium join:2000-12-03 Lansing, MI | Microdata question<div itemscope itemtype="http://data-vocabulary.org/Person">
My name is <span itemprop="name">Bob Smith</span>
but people call me <span itemprop="nickname">Smithy</span>.
Here is my home page:
<a href="http://www.example.com" itemprop="url">www.example.com</a>
I live in Albuquerque, NM and work as an <span itemprop="title">engineer</span>
at <span itemprop="affiliation">ACME Corp</span>.
</div>
Since using this sort of code does not return immediate results, I have to ask someone who has used this if the "div itemscope itemtype=..." is required. The Google Webmaster pages show this code in the above example but do not comment on it. At first I was thinking the itemscope declaration might be used in the head and you would span itemtypes. I could write the div for each product, but ultimately would like to declare as much as I can just once. |
 nekoAll Hail CanadaPremium join:2006-08-11 Canada Reviews:
·TekSavvy DSL
| Yes, as far as I know you do have to write out the itemscope declaration for each. At least that's what I did, & the Rich Snippet testing tool says it's fine.
»www.google.com/webmasters/tools/richsnippets
If you have this running in a 'for' loop within your code ('foreach'), then you only have to write it once. The items then get auto populated by the loop.
Hope this helps. -- ...virtue gives you heraldry. |