representative-hcard-formats

From Microformats Wiki
Revision as of 01:13, 25 October 2007 by Tantek (talk | contribs) (drafted)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

representative hCard formats

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

formats

FOAF autodiscovery

In foaf link rel syntax - for linking to one's foaf from homepage, 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:

  • MUST link element in the head of the document
  • MUST type="application/rdf+xml"
  • MUST rel-meta - meta value on the rel attribute
  • MUST title="FOAF"
  • SHOULD href="foaf.rdf"

Some problems with this approach:

  • requires use of the link element and thus write access to the head of the document
  • meta rel value is too generic, and doesn't really mean "person", or "representative"

see also