W3C home > Mailing lists > Public > semantic-web@w3.org > November 2006

Re: which URI to use as hCard profile URI? (vcard/RDF)

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Tue, 14 Nov 2006 12:33:38 -0500
To: Semantic web list <semantic-web@w3.org>
Message-ID: <87r6w6rkzx.fsf@nwalsh.com>
/ Dan Connolly <connolly@w3.org> was heard to say:
| The 2006/vcard namespace document doesn't (yet?) work
| as a GRDDL profile; it has no profileTransformation etc.

Can you point out more explicitly what needs to be changed?

| Now I'm having trouble getting the fax field to work right.
| The business card says:
|
| Phone: +1-123-456-7890 Mobile: +1-111-555-7890 Fax: +1-111-111-1234 
| which I encode as:
|
|    <div class="tel">Phone: <span
| class="value">+1-123-456-7890</span></div>
|    <div class="tel"><abbr class="type" title="cell">Mobile</abbr>: <span
| class="value">+1-111-555-7890</span></div>
|    <div class="tel"><abbr class="type" title="fax">Fax</abbr>: <span
| class="value">+1-111-111-1234</span></div>
|
| but what I get out is:
|
|     <v:tel rdf:resource="tel:+1-123-456-7890"/>
|     <v:mobileTel rdf:resource="tel:+1-111-555-7890"/>
|     <v:tel rdf:resource="tel:+1-111-111-1234"/>

Typo in the translate() function. Fixed now.

| by the way... Norm, the standard token is 'cell'; this
| bit of hcard2rdf.xsl goes beyond the standard:
|    <xsl:when test="$token = 'mobile' or $token = 'cell'">

Ok. Fixed also. Though I strongly prefer mobile over cell, personally.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Tuesday, 14 November 2006 17:33:51 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:12 GMT