calendar (and other) items aren't always tidy (was: Re:
[uf-discuss] using microschema)
Paul Wilkins
pmw57 at xtra.co.nz
Mon Nov 26 23:55:30 PST 2007
On Nov 27, 2007 11:57 AM, ken <gebser at speakeasy.net> wrote:
> Maybe I'm thinking too far outside the box, but it looks like the
> formats proposed thus far all assume that the (html) content we'll be
> "semanticizing" is going to written in such a way as to accommodate the
> format, that all the information going (ultimately) into, say, the vCard
> for one person will be presented discretely from the vCard information
> for another person. For example, suppose we have the following text in
> a (fictitious local sports) webpage:
>
> "Bobby and Billy are on the same football team and on Sunday they're
> playing against the Falcons, whose coach is Ron Smith. Ron Smith is
> Bobby and Billy's father. The brothers are also the star quarterback
> and star fullback at Pittsfield High."
Now there's a challenge.
<span class="vcard">
<span class="fn n">
<span class="given-name">Bobby</span>
<a href="#smith" class="include"></a>
</span>
<a href="#star-quarter" class="include"></a>
</span>
and
<span class="vcard">
<span class="fn n">
<span class="given-name">Billy</span>
<a href="#smith" class="include"></a>
</span>
<a href="#star-fullback" class="include"></a>
</span>
are on the same football team and on Sunday they're
playing against the Falcons, whose coach is
<span class="vcard">
<span class="fn n">
<span class="given-name">Ron</span>
<span class="family-name" id="smith">Smith</span>
</span>.
Ron Smith is Bobby and Billy's father.
The brothers are also the
<span class="role" id="star-quarter">star quarterback</span>
and <span class="role" id="star-fullback">star fullback</span>
at Pittsfield High."
This has been tested with Operator, and others should have no trouble either.
Other information could have been marked up, but that's been left as
an exercise should you wish to take things further.
--
Paul Wilkins
More information about the microformats-discuss
mailing list