xfolk-kottke

From Microformats Wiki
Jump to navigation Jump to search

Kottke's Remaindered Links

This page is out of date. Kottke's format has changed totally since this article was written. Each item is now merely an <li> element containing text; there can be (and often is) more than one link per post, and there isn't neccessarily a most important link that could be the "taggedlink".

Kottke's remaindered links is an internationally recognized link blog. This entry from his link blog represents several challenges for applying xFolk because, as is, it is not valid xhtml. Further, there are no explicit semantics, only implied semantics.

<li>
  <a href="http://www.guardian.co.uk/arts/news/story/0,11711,1188015,00.html">
    A previous Banksy unauthorized art placement took place in the 
    Natural History Museum in London
  </a>  
  <span class="nocmt">
    <a href="http://www.kottke.org/remainder/05/03/7937.html">
      &thinsp;#&thinsp;
    </a><br />
    "The graffiti artist Banksy has managed to smuggle in his latest 
     work, a dead rat in a glass-fronted box, into the Natural History
     Museum where it was exhibited on a wall for several hours."
</li>

Here is the version rendered in xFolk. Note that we fixed the <span> tag that was not properly closed in the original rendition. A further issue is that Kottke used a <br /> element, a sort of no-no in semantic markup. Under the idea of altering practice as little as possible, we just leave it. A challenge with this particular entry is the presence of two URLs that could be interpreted as the URL to tag, one pointing to a permalink on Kottke's site and one pointing to the original article. We opt for the URL pointing to the original article. Altered lines are marked with a comment at the end of the line.

<li class="xfolkentry"> <!-- changed -->
  <a class="taggedlink" href="http://www.guardian.co.uk/arts/news/story/0,11711,1188015,00.html"> <!-- changed -->
    A previous Banksy unauthorized art placement took place in the 
    Natural History Museum in London
  </a>  
  <span class="nocmt">
    <a href="http://www.kottke.org/remainder/05/03/7937.html">
      &thinsp;#&thinsp; 
    </a>
  <strong></span></strong>
  <br />
    <span class="extended"> "The graffiti artist Banksy has managed <!-- changed -->
     to smuggle in his latest 
     work, a dead rat in a glass-fronted box, into the Natural History
     Museum where it was exhibited on a wall for several hours."</span> <!-- changed -->
</li>