Category Posts - A Better Way
6 July 2002
Radio Progress Marcheth On. Putting a Radio post’s categories on the web page
”Jake Savin [jake@userland.com] posted in his comments pointers to:
- a macro: Drop listCategoriesForPost.txt into your Macros folder.
- the code for your Item template that calls it:
<CODE><<span>local (adrpost = @weblogData.posts.["<%paddedItemNum</span>>"]); listCategoriesForPost (adrpost)%>
Thanks, Jake! A better way than mine: logic pushed from the template to the macro.” [a klog apart]
I may try this one, too, although I’m more intrigued by liveTopics since it also builds an index of posts by category. [The Shifted Librarian]
Filed under: