xfolk-kottke

From Microformats Wiki
Jump to navigation Jump to search

Kottke's Remaindered Links

Kottke's remaindered links is an internationally recognized link blog. This entry 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.

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