On a recent site I worked on (www.middlesexhospital.org) one of the requirements was to take the body from dynamic content pages and make an unordered list of anchored links pointing to the <h*> heading tags on the page.
<ul title="Page navigation tree">
<li><a href="#Heading-1a">Heading 1a
<ul>
<li><a href="#Heading-2a">Heading 2a</a></li>
<li><a href="#Heading-2b">Heading 2b</a>
<ul>
<li><a href="#Heading-3a">Heading 3a</a></li>
</ul>
</li>
</ul>
</li>
</ul>
So given the body, how do we create the unordered list dynamically? Also, I don't want to make my users have to know how to set id attributes in <h*> heading tags (especially if they are using a WYSIWYG editor such as FCKEditor or htmlArea to edit their content).
Read more in this tutorial.
Out of curiousity, what bugs were you seeing in the nightly jTidy builds? I've been running r8 for a few months now, and haven't see any problems.
The only downside was that some of my pages were not validating correctly due to the windows special characters. So I gave him a the list and he wrote a quick custom method.
I wrote the original code for a Farcry installation, but modified it to be usable anywhere (the version you see in the download). The version I have provided can work in Farcry as well (and is the version I am currently using).