slanted W3C logo
Cover page images (keys)

Microformat Definition Language

Liam Quin

Microformat Definition Language

Liam Quin, W3C

Background

Web Culture

XML and Engineering

The Semantic Web

THE SEMANTIC WEB

The Semantic Web

REQUIRES...

The Semantic Web

UNAMBIGUOUS REPRESENTATION OF

The Semantic Web

MACHINE- DISCOVERABLE

The Semantic Web

SEMANTICS.

The Semantic Web

The semantic web requires
unambiguous
representation of
machine-discoverable semantics

Building The Semantic Web

So we need to add meaning to Web pages.

Microformats

A Microformat is a named markup idiom.

The most common is to use the HTML CLASS attribute to add rough meaning.

Example: geo

<div class="geo">
 <abbr class="latitude" title="37.408183">N 37° 24.491</abbr>
 <abbr class="longitude" title="-122.13855">W 122° 08.313</abbr>
</div>

Ambiguity

THE DISCOVERY OF TIN IN BRITAIN

Ambiguity: examples of title

Reminder:

The semantic web requires
unambiguous representation of
machine-discoverable semantics

Machine-discoverable

Which microformats does this document use?

What inferences can we make from the markup idioms?

Let's add markup to the document head to point to definitions.

Unambiguous representation

How do we avoid talking about Mrs Aerial Photography?

Validation

Validation

Validation How?

Two approaches:

  1. add explicit namespaces to elements and class values
  2. pick out the idiomatic markup into separate document fragments

Automating Validation

Either approach (namespaces, fragments) needs automation.

Today, people use a technique called...

XSLT

REALLY HAIRY XSLT

Is this approach good?

THIS IS

(no)

WRONG

Why?

What to do?

PONDER

MDL

The solution: a little language to define a microformat, and from which XSLT could be generated automatically

MDL Purposes

MDL Disadvantage

MDL has some disadvantages

Discussion