Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

<head profile="http://gmpg.org/xfn/11"> what is this?

I got this code from the wordpress

<head profile="http://gmpg.org/xfn/11">

What does this means?

what is the use of this code.? :-)

like image 403
coderex Avatar asked Sep 13 '09 12:09

coderex


4 Answers

From http://www.w3.org/TR/html401/struct/global.html#h-7.4.4.3

Meta data profiles

The profile attribute of the HEAD specifies the location of a meta data profile. The value of the profile attribute is a URI. User agents may use this URI in two ways: As a globally unique name. User agents may be able to recognize the name (without actually retrieving the profile) and perform some activity based on known conventions for that profile. For instance, search engines could provide an interface for searching through catalogs of HTML documents, where these documents all use the same profile for representing catalog entries. As a link. User agents may dereference the URI and perform some activity based on the actual definitions within the profile (e.g., authorize the usage of the profile within the current HTML document). This specification does not define formats for profiles.

like image 172
Paul Tomblin Avatar answered Oct 03 '22 19:10

Paul Tomblin


It's useless enough to be dropped from the HTML5 draft. I'd suggest against using it.

like image 33
Ms2ger Avatar answered Oct 03 '22 17:10

Ms2ger


Its like a meta link for the XHTML Friends Network. XFN is a way of describing, in a machine-readbale way, relationships between you and other people.

like image 24
Jonny Barnes Avatar answered Oct 03 '22 17:10

Jonny Barnes


It is a meta data profile.

As specified by http://www.w3.org/TR/html4/types.html#type-links, profiles should be specified when using values for the rel attribute that are not defined in the HTML specification.

See http://www.w3.org/TR/html4/struct/global.html#h-7.4.4.3 and http://gmpg.org/xfn/11 for the details.

like image 36
Quentin Avatar answered Oct 03 '22 18:10

Quentin