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

RDFa Question, Clarification

From: Martin McEvoy <martin@weborganics.co.uk>
Date: Tue, 19 Aug 2008 20:14:21 +0100
Message-ID: <48AB1B8D.2020508@weborganics.co.uk>
To: public-rdf-in-xhtml-tf@w3.org

Hello All

Just a bit of clarification really

I have over the last year been studying something I have started calling 
Metaformats - Languages that describe other languages, RDFa is a 
Metaformat used to primarily describe RDF vocabularies in html.

I have found that RDFa can also be used to describe html vocabularies 
such as Microformats (Here goes the madman again :-)     ) eg:

<div id="location" typeof="geo" about="#location">
        <span property="latitude" content="53.7552">N 53.7552</span>,
         <span property="longitude" content="-2.3675">W -2.3675</span>
</div>

http://microformats.org/wiki/geo

and.....

<div id="weborganics" typeof="vcard" about="#weborganics">
       <span property="fn">Martin McEvoy</span>
       <span rel="photo">
               <img src="http://weborganics.co.uk/site/photo/1/me.jpg" 
alt="weborganics"/>
       </span>
            Contact: <a rel="email" 
href="mailto:info@weborganics.co.uk">Email</a>
            Web: <a rel="url" 
href="http://weborganics.co.uk/">WebOrganics</a>
</div>

http://microformats.org/wiki/hcard

RDFa describes Microformats almost too well Its almost like they were 
made for each other and an almost elegant syntax (to me). The problem is 
can I do this? Does it make any sense to.... I don't know but I think is 
something worth considering.


Best Wishes

Martin McEvoy
Received on Tuesday, 19 August 2008 19:15:11 UTC

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