User:Danbri

From W3C Wiki

User:DanBri is Dan Brickley.

  • I work on the Schema.org initiative for Google (where I'm now on full time staff) via W3C's WebSchemas group. There is a page documenting the relationship between Schema.org and Web Schemas TF.
  • I was affiliated to the Vrije Universiteit, Amsterdam (vu.nl), where I work part-time on TV/Web and Linked Data via the NoTube project.
  • I'm responsible, with Libby Miller, for the FOAF project.
  • At W3C, I chair the Semantic Web Interest Group (which started in 1998 as RDF-DEV, then RDF Interest Group in 1999...).
  • Libby and I ran the SWAD-Europe project which created SKOS, and the ancestor of this Wiki.

If you have any questions about my work, or my various affiliations / hats, don't hestitate to get in touch via danbri@danbri.org.


Sandbox

Can we use templates? Testing 'Template:SchemaDotOrgTerm'



Testing Geshi syntax highligher

See my draft of notes on posting examples in W3C wikis.

In these examples, we try basically the same text with some variations. In each case we have 'line start 100' and a highlight set on line 5.


XML syntax highlighting

Taken from schema.org, with some XMLisation:

<div itemscope="true" itemtype="http://schema.org/Movie">
<h1 itemprop="name">Pirates of the Carribean: On Stranger Tides (2011)</h1>
<span itemprop="description">Jack Sparrow and Barbossa embark on a quest to
 find the elusive fountain of youth, only to discover that Blackbeard and
 his daughter are after it too.</span>
Director:
 <div itemprop="director" itemscope="true" itemtype="http://schema.org/People">
<span itemprop="name">Rob Marshall</span>
</div>


Ok, how does it deal with illformed XML? After all, that's a reasonable thing to show in an example (especially on a standards site):

Result: illformed (i.e. attributes with no values) are displayed fine. This is good!

<div itemscope itemtype="http://schema.org/Movie">
<h1 itemprop="name">Pirates of the Carribean: On Stranger Tides (2011)</h1>
<span itemprop="description">Jack Sparrow and Barbossa embark on a quest to
 find the elusive fountain of youth, only to discover that Blackbeard and
 his daughter are after it too.</span>
Director:
 <div itemprop="director" itemscope itemtype="http://schema.org/People">
<span itemprop="name">Rob Marshall</span>
</div>

Syntax highlighting tests

Tentative conclusion: For now, use html5strict language type for html5 examples.

HTML4 syntax highlighting

Taken from schema.org, without any XMLisation (uses 'itemscope' value-less attribute):

<div itemscope itemtype="http://schema.org/Movie">
<h1 itemprop="name">Pirates of the Carribean: On Stranger Tides (2011)</h1>
<span itemprop="description">Jack Sparrow and Barbossa embark on a quest to
 find the elusive fountain of youth, only to discover that Blackbeard and
 his daughter are after it too.</span>
Director:
 <div itemprop="director" itemscope itemtype="http://schema.org/People">
<span itemprop="name">Rob Marshall</span>
</div>



Text syntax highlighting

As above, with different highlighter ('text'):

<div itemscope itemtype="http://schema.org/Movie">
<h1 itemprop="name">Pirates of the Carribean: On Stranger Tides (2011)</h1>
<span itemprop="description">Jack Sparrow and Barbossa embark on a quest to
 find the elusive fountain of youth, only to discover that Blackbeard and
 his daughter are after it too.</span>
Director:
 <div itemprop="director" itemscope itemtype="http://schema.org/People">
<span itemprop="name">Rob Marshall</span>
</div>


Note: Trying 'html' as a language does not work.