FOAF Autodiscovery

On the rss-dev list
we’ve been looking at autodiscovery of rss and foaf using the link tag,
specifically by extending the mime-type information. Another way to do it is to
use a different ‘rel’ value. For RSS we currently use a rel value of ‘alternate’
since the RSS is presumed to be an alternate form of the same page. For FOAF, Kevin Burton
suggested
using a value of ‘meta’ which is a generic catch-all.

My suggestion is to use rel=”foaf”, e.g.:

<link rel="foaf" type="application/rdf+xml" title="FOAF"
href="http://example.com/people/~you/foaf.rdf" />

To do this, the HTML spec recommends that you create a new HTML
profile which basically provides an interpretation of the various
conventions used in the HTML page.

I’ve put a profile up at http://internetalchemy.org/200
3/02/profile
. This is an extension of Aaron Swartz’s RSS in HTML
profile

To use it just change your HEAD tag in your HTML page so that it looks like this:

<head profile="http://internetalchemy.org/2003/02/profile" >

You can then add the following in the head of your page:

<link rel="foaf" type="application/rdf+xml" title="FOAF"
href="http://example.com/people/~you/foaf.rdf" />

About Ian Davis

British entrepreneur and CEO of Kasabi. Primary interests are open data, the semantic web and decentralization.
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s