xFolk meta data profile

From Microformats Wiki
Revision as of 16:35, 18 July 2020 by Aaronpk (talk | contribs) (Replace <entry-title> with {{DISPLAYTITLE:}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The following is an XMDP profile for the xFolk specification.



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


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

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


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 Bud 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.

Note that in practice it makes sense to include the rel-tag profile in any profile of xFolk, since xFolk makes critical use of rel-tag as a building block.

 <dl class="profile">
   <dt id="class">class</dt>
     <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>
       <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 &lt;div&gt;, &lt;ul&gt;, &lt;ol&gt;, &lt;dt&gt;, &lt;p&gt; or &lt;span&gt; elements.  xFolk elements contained in an xfolkentry may be nested at an arbitrary depth.</dd>
       <dt id="taggedlink">taggedlink</dt>
       <dd>An &lt;a&gt; tag of class taggedlink indicates the URL of the item the xFolk entry bookmarks.  One and only one &lt;a&gt; 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 &lt;a&gt; element itself.</dd>
       <dt id="description">description</dt>
       <dd>A further description of the xFolk entry.  Typically applied to &lt;dd&gt;, &lt;li&gt;, &lt;p&gt;, and &lt;span&gt; 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>


  • Does the above snippet need fixing? I am not sure whether it's supposed to be displayed as "HTML source code" - or is this meant to be the actual HTML. - User:Drozzy
    • Yes it is meant to be displayed as HTML source, hence the <source> tags surrounding it. If you want to view the profile as a page, see http://microformats.org/profile/xfolk (also linked from the top of this page) - Tantek 17:07, 22 March 2010 (UTC)

Related pages