Sunday, May 16, 2004


Michael Fagan points to several tools for vCard metadata.

RDF Snob has that converts vCard files into FOAF files. Lots of e-mail programs (including Microsoft's Outlook Express) can exchange address book information in vCard format. This script lets you quickly convert that information into FOAF data.

He also has the script that converts LDAP Data Interchange Format (LDIF) files into FOAF files. The mail programs included with the Netscape and Mozilla Web browsers both export address book data in LDIF.

The W3C has released the note Representing vCard Objects in RDF/XML

This note specifies a Resource Description Framework (RDF) encoding of the vCard profile defined by RFC 2426 and to provide equivalent functionality to its standard format. The motivation is to enable the common and consistent description of persons (using the existing semantics of vCard) and to encode these in RDF/XML.
And last, has a program to turn vCard metadata into FOAF.
The program vcf2foaf is available in two formats. First, you can upload your vCard file or vCard address book using the form above and a FOAF file will be returned to your browser window. The content-type for the file will be "text/xml" rather than the more technically correct "application/rdf+xml". I did this so that most people can preview the results in their browser before saving. Second, you may download the Perl program itself and run it on your computer (or look at the source).

No comments: