Jump to content

XHTML Friends Network

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 211.28.141.14 (talk) at 03:17, 13 December 2007 (External links). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

XHTML Friends Network (XFN) is an HTML microformat developed by Global Multimedia Protocols Group that provides a simple way to represent human relationships using links. XFN enables web authors to indicate relationships to the people in their blogrolls simply by adding one or more keywords as the 'rel' attribute to their links, as in this markup example:

<a href="http://jeff.example.org" rel="friend met">

Introduction

XFN puts a human face on linking. As more people have come online and begun to form social networks, services such as Technorati and Feedster have arisen in an attempt to show how the various nodes are connected. Such services are useful for discovering the mechanical connections between nodes, but they do not uncover the human relationships between the people responsible for the nodes.

XFN outlines the relationships between individuals by defining a small set of values that describe personal relationships. In HTML and XHTML documents, these are given as values for the rel attribute on a hyperlink. XFN allows authors to indicate which of the weblogs they read belong to friends, whom they've physically met, and other personal relationships. Using XFN values, which can be listed in any order, people can humanize their blogrolls and links pages, both of which have become a common feature of weblogs.

In sufficiently modern browsers, authors using XFN can easily style all links of a particular type; thus, friends could be boldfaced, co-workers italicized, and so on. It is also the hope of the authors that this practice becomes widespread enough to allow the creation of a service that charts personal (as opposed to purely mechanical) links between weblogs and the people responsible for them.

XFN was the first microformat.

Example

A colleague of Jimmy Example could indicate that relationship by publishing a link on their site like this:

<a href="http://jimmy.examples.com/" rel="colleague">Jimmy Example</a>

Live forums

  • Chat with experts on XFN.

See also