The 5 minute guide to RDFa...in only 6 minutes 40 seconds

Embed Size (px)

Citation preview

an introduction to rdfa

by mark birbeck

Putting clearer metadata into web-pages would help the search engines, as well as improve the user experience.

rdfa originates in work doneon xhtml 2, but can be used
in mark-up today

Putting clearer metadata into web-pages would help the search engines, as well as improve the user experience.

we need to unlock
the metadata already
in web-pages, as
well as encourage
people to add more

The RDFa approach is to recognise that there is an enormous amount of useful information embedded in web-pages, and we want to get it out.

rdfa provides a generic
way to do this by
building on features
already in html

Putting clearer metadata into web-pages would help the search engines, as well as improve the user experience.



What do we have already?

Meta, link, etc.



Zakim Bridge by Paul Keleher



...

First change is to add @about.

Probably the most important addition, since you can now talk about other things.

Note that we're still using @rel.



Zakim Bridge by Paul Keleher



...

First change is to add @about.

Probably the most important addition, since you can now talk about other things.

Note that we're still using @rel.

Boston Harbor by Paul Keleher



A picture of
Boston Harbor



A picture of
Boston Harbor
taken by
Paul.

Next we can add text properties.

Note that we could already add links in the document.



A picture of
Boston Harbor
taken by

Paul
.

Boston Harbor by Paul Keleher

Next we can add text properties.

Note that we could already add links in the document.

Christmas Lights by Paul Keleher



A picture of
Christmas Lights
taken on
December 1st.



A picture of
Christmas Lights
taken on

December 1st
.

We can indicate data types. This came up in the session on microformats.

Christmas Lights by Paul Keleher



A picture of
Christmas Lights
taken on

December 1st
.

We can indicate data types. This came up in the session on microformats.

Spiral Staircase by Paul Keleher



Spiral Staircases
taken by
Paul Keleher.



We can use namespaces.

This means that anyone can devise their own format, you don't need to get permission from anyone.

That is, after all, what the web is all about.

Spiral Staircase by Paul Keleher






Having the geo data on any document means that a rich client could place it on a map, no matter what it is, or on what document.



Ivan Herman
knows Mark Birbeck and they are meeting today.

You can connect to resources that aren't clickable.



Ivan Herman
knows Mark Birbeck and they are meeting today.

You can connect to resources that aren't clickable.



A book.


A book.

You can connect to resources that aren't clickable.



Ivan Herman
knows

Mark Birbeck

and they are meeting today.

You can connect to resources that aren't clickable.





Twitter Name:

markbirbeck


So let's see some examples of how this improves the user experience.

Or should this be merged with Ivan's slide?

summary

about: determines what we're talking about

property and content: set text values

datatype: sets the type of a text value

instanceof: sets the type of something

resource: same as href, but not clickable

rel and rev: had before, but now work with src

rdfa is basically microformats big brotherdaniel e. renfer

rdfa is microformats done rightbob ducharme

There have been other attempts to do this, but the key thing about RDFa is that it is generic, and although it's easy to use, it puts RDF at the core.

more information

rdfa.info: http://rdfa.info

my blog: http://internet-apps.blogspot.com

software: http://www.swcube.com

in detail: http://www.swcube.com/rdfa