W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2011

[whatwg] multiple itemtypes in microdata?

From: Lin Clark <lin.w.clark@gmail.com>
Date: Tue, 28 Jun 2011 20:50:11 +0100
Message-ID: <BANLkTin9aBqt2bsqhLraiJ4L0Veoq6cyDg@mail.gmail.com>
Itemtype in my example is like 'kind' in your example. You are right, it is
basically a privileged property.

Because the words type and kind are pretty synonymous (groups of things that
have common characteristics), I would think that specifying an itemtype and
then specifying a separate kind might be confusing to users, just because of
the wording.

-Lin


On Tue, Jun 28, 2011 at 8:36 PM, Ian Hickson <ian at hixie.ch> wrote:

> On Tue, 28 Jun 2011, Lin Clark wrote:
> > On Tue, Jun 28, 2011 at 6:53 PM, Ian Hickson <ian at hixie.ch> wrote:
> > >
> > >
> > >   <div itemscope itemtype="http://example.com/">
> > >     <meta itemprop="kind" content="A B">
> > >     ...
> > >   </div>
> >
> >
> > Would it make sense to use something like vocab here?
> >
> >     <div itemscope vocab="http://example.com/" itemtype="A B http://C">
> >         ...
> >     </div>
>
> The vocab="" attribute in this example is what itemtype="" is in the spec.
>
> What is itemtype="" in this example? (How is it different from a
> property?)
>
> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
>



-- 
Lin Clark
DERI, NUI Galway <http://www.deri.ie/>

lin-clark.com
twitter.com/linclark
Received on Tuesday, 28 June 2011 12:50:11 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:06 UTC