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

Re: hCard, GRDDL, and microformats

From: Karl Dubost <karl@w3.org>
Date: Tue, 26 Jul 2005 09:41:21 -0400
Message-Id: <51782fcae246ab94a9e341dbf7de283d@w3.org>
Cc: RDF in XHTML task force <public-rdf-in-xhtml-tf@w3.org>
To: Dan Connolly <connolly@w3.org>


Le 25 juil. 2005, à 17:41, Dan Connolly a écrit :
> One of the reasons I started hacking on xhtml2vcard.xsl was
> to adapt it to produce RDF output. I haven't done that
> yet.

Just an idea, which came to my mind.
Another output that could be done as well would be

 From Microformats

Requirement:
	<head
		profile="@@here URI list of profiles@@">

<span class="vevent">
  <a class="url" href="http://www.web2con.com/">
   <span class="summary">Web 2.0 Conference</span>:
   <abbr class="dtstart" title="2005-10-05">October 5</abbr>-
   <abbr class="dtend" title="2005-10-07">7</abbr>,
  at the <span class="location">Argent Hotel, San Francisco, CA</span>
  </a>
</span>



To XHTML 2.0 WD syntax

Requirement:
	<html
		xmlns:cal="@@here URI of namespace@@"… >


Markup:

<span role="cal:vevent">
  <a role="cal:url" href="http://www.web2con.com/">
   <span role="cal:summary">Web 2.0 Conference</span>:
   <abbr role="cal:dtstart" title="2005-10-05">October 5</abbr>-
   <abbr role="cal:dtend" title="2005-10-07">7</abbr>,
  at the <span role="cal:location">Argent Hotel, San Francisco, CA</span>
  </a>
</span>


Benefits:
	- Avoid name clash when mixing vocabularies.
	- Maybe easier to write when multiple profile URIs

	<head
		profile="http://example.org/uri1 http://example.org/uri2 
http://example.org/uri3">

compared to

	<html
		xmlns="http://www.w3.org/2002/06/xhtml2/"
		...
		xmlns:ns1="http://example.org/uri1"
		xmlns:ns2="http://example.org/uri2"
		xmlns:ns3="http://example.org/uri3">



-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager
*** Be Strict To Be Cool ***
Received on Tuesday, 26 July 2005 13:41:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:00 GMT