List, index or summary

53 views
Skip to first unread message

Lorenzo De Tomasi

unread,
Sep 7, 2011, 7:56:11 AM9/7/11
to schemaorg-...@googlegroups.com
Ciao,

I would like to know the correct markup for a list of items (something like the summary of a book).
For example an alphabetically ordered list of organizations (name and address), where each item is linked to a specific page that describes the single entity.
Or an alphabetically ordered list of places or persons…

In html:
<ul>
  <li itemscope="" itemtype="http://schema.org/LocalBusiness">
    <strong itemprop="name">A &amp; A Formaggi </strong>
    <span itemscope="" itemtype="http://schema.org/PostalAddress">
      <span itemprop="streetAddress">Via Casal S. Angelo km 16,200</span>
      <span itemprop="addressLocality">Anguillara Sabazia</span>
      <span itemprop="addressRegion">Lazio</span>
    </span>
  </li>
  <li itemscope="" itemtype="http://schema.org/LocalBusiness">
    <strong itemprop="name">A.P.A.BIOL.</strong>
    <span itemscope="" itemtype="http://schema.org/PostalAddress">
      <span itemprop="streetAddress">Via Raffaele Piria, 6</span>
      <span itemprop="addressLocality">Roma</span>
      <span itemprop="addressRegion">Lazio</span>
    </span>
  </li>
  <li itemscope="" itemtype="http://schema.org/LocalBusiness">
    <strong itemprop="name">Agricola Il Viarino S.r.l.</strong>
    <span itemscope="" itemtype="http://schema.org/PostalAddress">
      <span itemprop="streetAddress">Loc. Triana, snc</span>
      <span itemprop="addressLocality">Mompeo</span>
      <span itemprop="addressRegion">Lazio</span>
    </span>
  </li>
  <li itemscope="" itemtype="http://schema.org/LocalBusiness">
…
  </li>
</ul>

Is there a way to specify in the <ul> that this is a list, and in particular a list of local businnesses, or other type?
Thanks

Pravir Gupta

unread,
Sep 13, 2011, 8:23:46 PM9/13/11
to schemaorg-...@googlegroups.com
you can specify that using http://schema.org/ItemList
Thanks
-Pravir

Lorenzo De Tomasi

unread,
Sep 14, 2011, 12:03:37 PM9/14/11
to schemaorg-...@googlegroups.com
Is this correct or have I to specify something else?
The fact that is a list of local businnesses is automatically given by
<li>s itemtype?

<ul itemscope="" itemtype="http://schema.org/ItemList">


<li itemscope="" itemtype="http://schema.org/LocalBusiness">
<strong itemprop="name">A &amp; A Formaggi </strong>
<span itemscope="" itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">Via Casal S. Angelo km 16,200</span>
<span itemprop="addressLocality">Anguillara Sabazia</span>
<span itemprop="addressRegion">Lazio</span>

<span itemprop="addressCountry">it</span>


</span>
</li>
<li itemscope="" itemtype="http://schema.org/LocalBusiness">
<strong itemprop="name">A.P.A.BIOL.</strong>
<span itemscope="" itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">Via Raffaele Piria, 6</span>
<span itemprop="addressLocality">Roma</span>
<span itemprop="addressRegion">Lazio</span>

<span itemprop="addressCountry">it</span>


</span>
</li>
<li itemscope="" itemtype="http://schema.org/LocalBusiness">

</li>

Thanks

2011/9/14 Pravir Gupta <pra...@google.com>:

--
Salta la crisi! Investi in comunicazione <http://isotype.org/?lang=it>
--
Lorenzo De Tomasi
ISOTYPE.org | comunica la qualità
Coordinatore
Designer della comunicazione

^^^^^^^^^^
Rispetta il tuo ambiente, pensa prima di stampare questa e-mail. Grazie.
Please consider the environment before printing this email. Thank you.

Reply all
Reply to author
Forward
0 new messages