Updated: 11/14/2005; 1:40:46 AM
Radio Fun
    Radio UserLand, RSS, Weblog Tools and Design

daily link  Tuesday, August 13, 2002

Category Links In Posts
I added this feature to my template. Works as advertised. Cool...
[RadioFAQs]
Question: How can I add Category Links to Radio Entries? Answer: Adding Category Links to Radio Entries. I'm attempting now to include a list of the categories associated with each entry, following a pointer from Matthew Ernest to a script by Marc Paschal. For me, this is like following a recipe without really understanding the stove, so if it doesn't work I hope it doesn't screw up the legibility of the entries. [Radio Free Blogistan] Answer: Putting a Radio post's categories on the web page..

Jake Savin [jake@userland.com] posted in his comments pointers to:

  1. a macro: Drop listCategoriesForPost.txt into your Macros folder.
  2. the code for your Item template that calls it:  

<%local (adrpost = @weblogData.posts.["<%paddedItemNum%>"]); listCategoriesForPost (adrpost)%>

Thanks, Jake! A better way than mine: logic pushed from the template to the macro.

Thanks also to Rick and Roland for pointing the way.

[Phil Wolff: Blue Sky Radio] [dws.]
 
8:45:06 PM
categories: Radio Fun
 source


Copyright 2005 © Bruce Zimmer