Websites, Mashups and more

Tuesday, January 17, 2006

Code Snippets: Multiple categories for one posting

On the way to work this morning, I was thinking about my posting yesterday for categorizing entries in a blog. I realized that my technique is more flexible than what I have expected. If you want to add a specific entry to more than one category all you need to do is prefix your post's title with the categories that it falls in. You can separate the prefixed category names with comas, semi colons or anything you like. That's all. Now your posting will be displayed under each category name you specified whenever you click on your category links

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home