Thankls to Beth Mazur and her post on IDblog: Spotlighting comments that had the MovableType code for adding the excerpts of the 5 most recent comments to this blog, now visible on the right under the heading “Others Bark Back”
Just another small way to bring bits of information from within the weblog to the front.
I also extended this to have them appear iin my category pages, except these list just the comments within a given category, such as my ePortfolio category.
To do this, you need to add toyour Category Template:
<MTComments lastn=”2″ sort_order=”descend”>
<strong><$MTCommentAuthorLink show_email=”0″$></strong> in
<strong><a href=”<$MTBlogArchiveURL$><$MTCommentEntryID pad=”1″$>.html”>
<$MTCommentBody remove_html=”1″ trim_to=”150″$>…
<a href=”<$MTBlogArchiveURL$><$MTCommentEntryID pad=”1″$>.html”>«more»</a>
The difference being you have to put the code provided by IDBlog inside the context of an MTEntries tag so it would only pull comments from entries within the category (by default, the MTEntries in a Category template will do that… I think).
It also takes some playing around with the lastn
The post "Thanks IDBlog for Pointer on Adding Comments…" was originally zapped with 10,000 volts and declared "It's ALIVE" by Dr. Frankenstein at CogDogBlog (http://cogdogblog.com/2003/07/thanks-idblog/) on July 12, 2003.