xfolk-profile

From Microformats Wiki
Revision as of 12:58, 6 August 2009 by Tantek (talk | contribs) (URLs, usage, sections, update significant enough to indicate co-authorship on this section only)
Jump to navigation Jump to search

<entry-title>xFolk meta data profile</entry-title> The following is an XMDP profile for the xFolk specification.

Authors

URLs

This profile is hosted as a separate XMDP file on microformats.org:

Usage

Profiles are referenced in (X)HTML files in the <HEAD> tag, e.g.:

<head profile='http://microformats.org/profile/xfolk'>

Profile

As described in HTML4 Meta data profiles and further elaborated on in XHTML Meta Data Profiles with specific reference to the XFN 1.1 relationships meta data profile and XOXO Profile.

The author believes this profile provides a set of class attribute values sufficient to be used in working implementations of xFolk. The profile may be incomplete and is subject to change as xFolk evolves.

 <dl class="profile">
   <dt id="class">class</dt>
   <dd>
     <p>[http://www.w3.org/TR/html401/struct/global.html#adef-class HTML4 definition of the 'class' attribute].  This meta data profile defines some 'class' attribute values (class names) and their meanings as suggested by a [http://www.w3.org/TR/WD-htmllink-970328#profile" draft of "Hypertext Links in HTML"]:</p>
     <dl>
       <dt id="xfolkentry">xfolkentry</dt>
       <dd>Indicates a container element for an xFolk entry.  An xFolk entry indicates one bookmark with supporting metadata that the user wants to have aggregated into a folksonomy.  The xfolkentry class attribute value is usually applied to <div>, <ul>, <ol>, <dt>, <p> or <span> elements.  xFolk elements contained in an xfolkentry may be nested at an arbitrary depth.</dd>
       <dt id="taggedlink">taggedlink</dt>
       <dd>An <a> tag of class taggedlink indicates the URL of the item the xFolk entry bookmarks.  One and only one <a> element of class taggedlink must occur within each element of class xfolkentry.  The title of the bookmark is in order of availability: (1) the value of an optional title attribute; (2) The value of the <a> element itself.</dd>
       <dt id="description">description</dt>
       <dd>A further description of the xFolk entry.  Typically applied to <dd>, <li>, <p>, and <span> elements.  Elements of class <code>description</code> are optional and may occur multiply.  When multiple elements of class <code>description</code> are present, they are assumed to be in document order.</dd>
       <dt id="extended">extended</dt>
       <dd>A deprecated class value that is equivalent to <code>description</code>.</dd>
     </dl>
   </dd>
 </dl>
 

Related pages