Creating a 'Tag Index' on Movable Type

| 1 Comment | No TrackBacks |
Many paper books have an index of keywords at the end, listing for each keyword on which pages in the book they occur.  Recently someone on the Six Apart ProNet mailing list wanted something similar for his blog: an alphabetical listing of all tags along with the entry ID's of the entries that were tagged with each tag. Skot Nelson stepped up with this bit of template code.
<h2>Tag Index</h2>
<div ID="tagListing">
<MTTags>

<href="<$MTTagSearchLink$>" rel="nofollow"><span class="size<$MTTagRank$>"><$MTTagName></span></a>...&nbsp;
<MT:Entries glue=", ">
<a href="<MT:EntryPermaLink>"><MT:EntryID></a>
</MT:Entries><br>
</MTTags>
</div>

It produces something like this:

Tag Index

5.02...  68 
announcement...  68 
author...  63 
authorship...  63 
cloud...  65 
contest...  75 
design...  75 
(...)

Quite nice!  And thanks to Skot for allowing me to share it here!

No TrackBacks

TrackBack URL: http://www.movabletips.com/cgi-bin/mt/mt-tb.cgi/66

1 Comment

What's Going down i'm new to this, I stumbled upon this I have found
It absolutely helpful and it has aided me out loads. I hope to contribute & help different customers like its aided
me. Great job.

Leave a comment


Movable Type Help?

"Can my Movable Type issue or project be taken care of by a professional?" Yes It Can Be! Contact YesItCan.be

Tags

Powered by Movable Type 5.2.7