HTML and CSS Reference
In-Depth Information
Listing 7-21. Styling XFN
a[rel~="friend"] {
font-weight: bold;
a[rel~="colleague "] {
font-style: italic;
Although it is easy to create XFN from scratch, XFN creators such as XFN Creator [49] or Exefen [50] might speed
up development.
XHTML MetaData Profiles (XMDP) metadata is an XHTML-based format for defining metadata profiles that are both
machine- and human-readable. XMDP consists of a property definition list, an optional description, and then, if
applicable, one or more definition list items. The profile definition list is identified by the class (Listing 7-22).
Listing 7-22. XMDP Profile Definition
<dl class="profile">
The definition term is identified by the id (Listing 7-23).
Listing 7-23. Definition Term and Data for XMDP
<dt id="property1">property1</dt>
The informatively used meta properties author and keywords , for example, can be defined by XMDP as shown in
Listing 7-24 [51].
Listing 7-24. A Complete XMDP Example
<dl class="profile">
<dt id="author">author</dt>
<dd>A person who wrote (at least part of) the document.</dd>
<dt id="keywords">keywords</dt>
<dd>A comma and/or space separated list of the keywords or keyphrases of the document.</dd>
Listing 7-25 shows the structure of an XMDP profile URI.
Listing 7-25. An XMDP Profile URI
<link rel="profile" href=" " >
Search WWH ::

Custom Search