xfolk-scuttle: Difference between revisions
WebOrganics (talk | contribs) (Undo revision 35834 by LiorrOboca (Talk)(vandalism)) |
|||
(11 intermediate revisions by 9 users not shown) | |||
Line 2: | Line 2: | ||
<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 <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 <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> | ||
<pre><div id= | <pre><div id="bookmarks"> | ||
<h2>Your Bookmarks</h2> | <h2>Your Bookmarks</h2> | ||
<dl> | <dl> | ||
<dt> | <dt> | ||
<a href= | <a href="http://www.sifry.com/alerts/archives/000306.html"> | ||
Sifry&#039;s Alerts: Technorati launches Related Tags | Sifry&#039;s Alerts: Technorati launches Related Tags | ||
</a> | </a> | ||
</dt> | </dt> | ||
<dd class= | <dd class="description"> | ||
Ever wanted to see what posts are related to other posts, what | Ever wanted to see what posts are related to other posts, what | ||
tags are related to others? Now you can! Just check under the | tags are related to others? Now you can! Just check under the | ||
Line 16: | Line 16: | ||
and you&#039;ll see the patterns. Can you smell the emergence? | and you&#039;ll see the patterns. Can you smell the emergence? | ||
</dd> | </dd> | ||
<dd class= | <dd class="tags"> | ||
2005-04-09 to | 2005-04-09 to | ||
<a href= | <a href="http://www.niallkennedy.com/scuttle/bookmarks.php/budgibson/folksonomy"> | ||
folksonomy | folksonomy | ||
</a>, | </a>, | ||
<a href= | <a href="http://www.niallkennedy.com/scuttle/bookmarks.php/budgibson/technorati"> | ||
technorati | technorati | ||
</a> | </a> | ||
Line 30: | Line 30: | ||
<p>To get this into xFolk 0.5, the easiest way is to have each xFolk entry in its own <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> | <p>To get this into xFolk 0.5, the easiest way is to have each xFolk entry in its own <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><div id= | <pre><div id="bookmarks"> | ||
<h2>Your Bookmarks</h2> | <h2>Your Bookmarks</h2> | ||
<dl class= | <dl class="xfolkentry"> <!-- changed --> | ||
<dt> | <dt> | ||
<a class= | <a class="taggedlink" <!-- changed --> | ||
href= | href="http://www.sifry.com/alerts/archives/000306.html"> | ||
Sifry&#039;s Alerts: Technorati launches Related Tags | Sifry&#039;s Alerts: Technorati launches Related Tags | ||
</a> | </a> | ||
</dt> | </dt> | ||
<dd class="description"> | <dd class="description"> <!-- not changed because works with xFolk --> | ||
Ever wanted to see what posts are related to other posts, what | Ever wanted to see what posts are related to other posts, what | ||
tags are related to others? Now you can! Just check under the | tags are related to others? Now you can! Just check under the | ||
Line 45: | Line 45: | ||
and you&#039;ll see the patterns. Can you smell the emergence? | and you&#039;ll see the patterns. Can you smell the emergence? | ||
</dd> | </dd> | ||
<dd class= | <dd class="tags"> | ||
2005-04-09 to | 2005-04-09 to | ||
<a rel= | <a rel="tag" | ||
href= | href="http://www.niallkennedy.com/scuttle/bookmarks.php/budgibson/folksonomy"> <!-- changed --> | ||
folksonomy | folksonomy | ||
</a>, | </a>, | ||
<a rel= | <a rel="tag" | ||
href= | href="http://www.niallkennedy.com/scuttle/bookmarks.php/budgibson/technorati"> <!-- changed --> | ||
technorati | technorati | ||
</a> | </a> |
Latest revision as of 17:39, 20 December 2008
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 <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.
<div id="bookmarks"> <h2>Your Bookmarks</h2> <dl> <dt> <a href="http://www.sifry.com/alerts/archives/000306.html"> Sifry's Alerts: Technorati launches Related Tags </a> </dt> <dd class="description"> 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'll see the patterns. Can you smell the emergence? </dd> <dd class="tags"> 2005-04-09 to <a href="http://www.niallkennedy.com/scuttle/bookmarks.php/budgibson/folksonomy"> folksonomy </a>, <a href="http://www.niallkennedy.com/scuttle/bookmarks.php/budgibson/technorati"> technorati </a> </dd> </dl> </div>
To get this into xFolk 0.5, the easiest way is to have each xFolk entry in its own <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.
<div id="bookmarks"> <h2>Your Bookmarks</h2> <dl class="xfolkentry"> <!-- changed --> <dt> <a class="taggedlink" <!-- changed --> href="http://www.sifry.com/alerts/archives/000306.html"> Sifry's Alerts: Technorati launches Related Tags </a> </dt> <dd class="description"> <!-- 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'll see the patterns. Can you smell the emergence? </dd> <dd class="tags"> 2005-04-09 to <a rel="tag" href="http://www.niallkennedy.com/scuttle/bookmarks.php/budgibson/folksonomy"> <!-- changed --> folksonomy </a>, <a rel="tag" href="http://www.niallkennedy.com/scuttle/bookmarks.php/budgibson/technorati"> <!-- changed --> technorati </a> </dd> </dl> </div>