Jump to content

XHTML Friends Network

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 166.217.64.186 (talk) at 15:52, 13 June 2009 (corrected obvious typos). 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 by adding one or more keywords as the rel attribute to their links. XFN was the first microformat[citation needed].

Example

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

<a href="http://jimmy.example.com/" rel="friend">Jimmy Example</a>

Multiple values may be used, so if that friend has met Jimmy:

<a href="http://jimmy.example.com/" rel="friend met">Jimmy Example</a>

See also