representative-hcard-formats

Jump to: navigation, search

representative hCard formats

Contents

Examples of formats for indicating representative person info about pages that represent individual people. Part of the representative-hcard effort.

FOAF autodiscovery

In foaf link rel syntax - for linking to one's foaf from homepage on Thu Dec 12 00:44:28 UTC 2002, Dan Brickley proposed:

<link rel="meta" type="application/rdf+xml" title="FOAF" href="foaf.rdf" />

for linking from a page that represents an individual to info about that person in a separate resource "foaf.rdf" in the same directory as the current page. Dan clarifies:

If we stick with the convention of a link title of "FOAF", we can get away with not worrying too much about defining an html profile for rel="meta".

BTW I'd also recommend we encourage folk to use the filename foaf.rdf

From this we infer the key elements of this format are:

Some problems with this approach:

FOAF primaryTopic

FOAF also has a facility for specifying the primary topic for a page.

<link rel="foaf:primaryTopic" href="#somehcard" />

For people without access to the <head> of a page, an <a> element could be used instead.

see also

representative-hcard-formats was last modified: Thursday, March 20th, 2008

Views