W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > May 2005

Re: GRDDL-enabling microformats

From: Dominique HazaŽl-Massieux <dom@w3.org>
Date: Fri, 20 May 2005 13:47:35 +0200
To: Danny Ayers <danny.ayers@gmail.com>
Cc: public-rdf-in-xhtml-tf@w3.org, tantek@technorati.com
Message-Id: <1116589655.6241.158.camel@stratustier>
Hi Danny,

Le vendredi 20 mai 2005 ŗ 11:52 +0200, Danny Ayers a ťcrit :
> If I understand the new GRDDL draft [1] correctly, a compatible
> document would firstly include a reference to the data-view profile to
> say "transformations of this doc have the same meaning as this doc" -
> <head profile="http://www.w3.org/2003/g/data-view"> 
> This would be the same for all microformats.

Actually, this is even more flexible than that; you don't need to get
all microformats to adopt the GRDDL profile; as long as they do have a
profile (as XFN does), then you can put the relevant information
directly in the profile document itself, and all the documents
referencing this profile would become GRDDLable.

To take the XFN example in more details:
* each document using the XFN microformat is supposed to reference the
XFN profile, http://gmpg.org/xfn/
* when encountering such a document, a GRDDL processor would thus go and
dereference the URI above
* if at the URI above, the GRDDL processor is able to extract an
information linking this URI to a <dataview:profileTransformation>, it
will then apply the said transformation to any XHTML document
referencing the said profile
* so to make instantaneously any XFN document GRDDL-able, what is needed
is to get the XFN profile document to point to the said transformation
* since as of today, this profile document is in XHTML, the simplest way
to get it point to the XSLT is to have this XHTML document itself being
GRDDL-able, so that its GRDDL interpretation would be
<http://gmpg.org/xfn/> dataview:profileTransformation <xfn2rdf.xsl>.
* one way of doing so would be:
  - to add the GRDDL profile to the head of the XFN profile document
  - to add a <link rel="transformation"
href="http://www.w3.org/2003/12/rdf-in-xhtml-xslts/grddlProfileTransformation.xsl" /> in the head of the XFN profile document
  - to make a link anywhere in the document to the XSLT that transforms
XFN into RDF, with a rel attribute set to "profileTransformation"; DanC
had developed a draft transformation to that effect:

This is already implemented e.g. with the W3C Home page:
* it uses a profile <http://www.w3.org/2000/08/w3c-synd/#> to make the
news embedded in it extractable as RSS;
* if you dereference http://www.w3.org/2000/08/w3c-synd/#, you get an
XHTML document; this XHTML document itself is GRDDL-able, since it
references the GRDDL profile
* the GRDDL interpretation of it 
%2F2000%2F08%2Fw3c-synd%2F%23 shows that the said profile is is linked
to a profileTransformation available at
* thus, a GRDDL interpreter hitting the W3C Home page can directly
extract the RSS feed from it, as shown at:

Dominique HazaŽl-Massieux - http://www.w3.org/People/Dom/

Received on Friday, 20 May 2005 11:47:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:19 UTC