xfolk-scuttle: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (Reverted edit of 1143297912, changed back to last version by Bud)
No edit summary
Line 1: Line 1:
= Scuttle =
= Scuttle =
<p>An issue with scuttle's xhtml presentation is that it specifies a collection of bookmarks with the implicit idea that bookmarks are separated each time a new URL is specfied in a &lt;dt> element.  Further, things like tags are specified as a collection in a sublist.  This approach is fine if one expects that the information will always be presented in a definition list.  Such will not be the general case for those not already using scuttle.</p> 
<p>An issue with scuttle's xhtml presentation is that it specifies a collection of bookmarks with the implicit idea that bookmarks are separated each time a new URL is specfied in a
 
<pre>&lt;div id="bookmarks"&gt;
  &lt;h2&gt;Your Bookmarks&lt;/h2&gt;
  &lt;dl&gt;
    &lt;dt&gt;
      &lt;a href="http://www.sifry.com/alerts/archives/000306.html"&gt;
        Sifry&amp;#039;s Alerts: Technorati launches Related Tags
      &lt;/a&gt;
    &lt;/dt&gt;
    &lt;dd class="description"&gt;
      Ever wanted to see what posts are related to other posts, what
      tags are related to others? Now you can! Just check under the
      Tag description on most tag pages, like this one, or this one,
      and you&amp;#039;ll see the patterns. Can you smell the emergence?
    &lt;/dd&gt;
    &lt;dd class="tags"&gt;
      2005-04-09 to
      &lt;a href="http://www.niallkennedy.com/scuttle/bookmarks.php/budgibson/folksonomy"&gt;
        folksonomy
      &lt;/a&gt;,
      &lt;a href="http://www.niallkennedy.com/scuttle/bookmarks.php/budgibson/technorati"&gt;
        technorati
      &lt;/a&gt;
    &lt;/dd&gt;
  &lt;/dl&gt;
&lt;/div&gt;</pre>
 
<p>To get this into xFolk 0.5, the easiest way is to have each xFolk entry in its own &lt;dl> element of class xfolkentry so that individual xFolk entries can be demarcated.  We will also have to add class attributes in cases where there are none.  Changed and added components are marked with comments at the end of the line.</p>
 
<pre>&lt;div id="bookmarks"&gt;
  &lt;h2&gt;Your Bookmarks&lt;/h2&gt;
  &lt;dl class="xfolkentry"&gt; <!-- changed -->
    &lt;dt&gt;
      &lt;a class="taggedlink" <!-- changed -->
      href="http://www.sifry.com/alerts/archives/000306.html"&gt;
        Sifry&amp;#039;s Alerts: Technorati launches Related Tags
      &lt;/a&gt;
    &lt;/dt&gt;
    &lt;dd class="description"&gt; <!-- not changed because works with xFolk -->
      Ever wanted to see what posts are related to other posts, what
      tags are related to others? Now you can! Just check under the
      Tag description on most tag pages, like this one, or this one,
      and you&amp;#039;ll see the patterns. Can you smell the emergence?
    &lt;/dd&gt;
    &lt;dd class="tags"&gt;
      2005-04-09 to
      &lt;a rel="tag"
      href="http://www.niallkennedy.com/scuttle/bookmarks.php/budgibson/folksonomy"&gt; <!-- changed -->
        folksonomy
      &lt;/a&gt;,
      &lt;a rel="tag"
      href="http://www.niallkennedy.com/scuttle/bookmarks.php/budgibson/technorati"&gt; <!-- changed -->
        technorati
      &lt;/a&gt;
    &lt;/dd&gt;
  &lt;/dl&gt;
&lt;/div&gt;</pre>

Revision as of 13:52, 21 June 2007

Scuttle

An issue with scuttle's xhtml presentation is that it specifies a collection of bookmarks with the implicit idea that bookmarks are separated each time a new URL is specfied in a