representative-hcard-formats: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(drafted)
 
mNo edit summary
Line 5: Line 5:
== formats ==
== formats ==
=== FOAF autodiscovery ===
=== FOAF autodiscovery ===
In <cite>[http://lists.usefulinc.com/pipermail/foaf-dev/2002-December/004677.html foaf link rel syntax - for linking to one's foaf from homepage]</cite>, Dan Brickley proposed:
In <cite>[http://lists.usefulinc.com/pipermail/foaf-dev/2002-December/004677.html foaf link rel syntax - for linking to one's foaf from homepage]</cite> on Thu Dec 12 00:44:28 UTC 2002, Dan Brickley proposed:


<pre><nowiki>
<pre><nowiki>

Revision as of 01:14, 25 October 2007

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 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:

  • 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