W3C home > Mailing lists > Public > www-tag@w3.org > April 2006

RDDL as a microformat?

From: Robin Berjon <robin.berjon@expway.fr>
Date: Tue, 18 Apr 2006 01:35:40 +0200
Message-Id: <FDBB373D-2CC1-4E09-945B-84A9D5D3DC38@expway.fr>
To: www-tag@w3.org

Hi,

while mulling over the current state of RDDL, which doesn't seem to  
have changed a lot recently (unless I missed something), I wondered  
if instead of XLink or the RDF variants proposed in its stead it  
wouldn't be simpler to just use a microformat. I'm not convinced it's  
a good idea, but I thought I'd dump it here in case anyone would be  
interested. From the RDF extraction point of view it's reasonably  
similar, but from the author's side it's much more friendly than  
XLink attributes that don't have the names of what they do. It also  
makes all the links directly usable by humans, without duplicating  
the metadata (as the RDDL example below does, using the same link  
twice).

Instead of:

   <rddl:resource xlink:title="RELAXNG Schema"
                  xlink:arcrole="http://www.rddl.org/purposes#schema- 
validation"
                  xlink:role="http://relaxng.org/ns/structure/1.0"
                  xlink:href="foo.rng"
                 >
     <p>A RelaxNG Schema <a href="foo.rng">foo.rng</a> for FooML</p>
   </rddl:resource>

one would use:

...
  <head profile='http://www.w3.org/2006/04/rddl'>
...
   <div class='rddl' title='The RelaxNG schema for FooML'>
     If you want to validate
     <a class='purpose' href='http://www.rddl.org/purposes#schema- 
validation'>validate</a>
     you can use the
     <a class='nature' href='http://relaxng.org/ns/structure/ 
1.0'>RelaxNG schema</a>
     found at
     <a class='locator' href='foo.rng'>foo.rng</a>
   </div>

-- 
Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/
Received on Monday, 17 April 2006 23:35:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:39 GMT