html:Relations
In html too it is possible to markup relations to persons. For this usage of the socalled mikroformats is recommended. In htis case the XFN mikroformat.
The original XFN specification is incomplete (as far as i think). Since my proposals and recommendations are ignored there i post them here.
Basic syntax
This microformat is about values for the rel and rev html attributes a, link and for the class attribute for other elements.
rel
The rel attribute adds a meaning to a link. It adds, what kind of link this is, or,
what is the relation of the target document for this dokument. Maybe you know
constructs like
a href="anywhere.html" rel="next"
blah.../a
.
This says, thet the relation of the target document is, that it is the next
document related to this document. The usage for personal relations is
very similar, for example when linking to a persons homepage.
rev
This is very similar to the rel attribute, but reverse. To show an example:
a href="anywhere.html" rel="next" rev="prev"
blah.../a
Exactly as in the example above the rel attribute shows the relation of the target document to this document. The rev attribute then shows, what this document is for the target document. Since the target document is the next document, this document is the previous document for the target document. This type of relationship is applicable to persons, too. The usage of this attribute was forgotten at XFN.
class
The same vocabulary is applicable to the class attribute. A simple example may show this:
We have a film on tv with span class="person"
Donald Duck/span
this evening.
No link. Just a statement, that the entity named "Donald Duck" is a person. This may be useful not only in this simple form, but for example in combination with the hCard address records:
address class="vcard me"
span class="fn"
Siegfried Gipp/span
span class="street-address"
Grundstr. 66/span
span
span class="postal-code"
64385/span
span class="locality"
Reichelsheim/span
/span
/address
This specifies this address record not only as an address record with hCard markup, but it specifies this address record as my address record. This too was forgotten at XFN.