Note: CogDogBlog has a new WordPress powered home at http://cogdogblog.com/. All entries from this version have been moved there, so as a guide dog service try finding this article in its new home by title search.
Well it was not easy but with a little help with this link sent by D'Arcy Norman, I have managed to set up separate RSS feeds for the category areas of this site...
I have my blog set up to archive in catefories since the content will be rather different. Scott Leslie asked from here about setting up feeds for MT Categories.
Surely it is in the documentation?
Stop calling me Shirley.
So here is how it happened. Make a copy of the template content for any MT RSS Feed (listed under Index Files) in the Templates area. Create a new index template, and title it something unique, but as a file name make it:
where <category_file_name> is the file name MT creates for your category archives. Mine are things like "cat_objects" and "cat_web_dev".
Inside these templates you just need to change the 2 places it says:
and make it:
<MTEntries lastn="15" category="Name of Category">
I ended up hand coding the title and description tags to match my category info.
I was hoping on the right side of my categories template to list the XML link for just that category, but it got too hairy to pluck out the correct RSS file name, so I got weak, and used a MT Loop structure to spit out all of the category RSS links:
<a href="../cat_<$MTArchiveCategory dirify="1"$>.rdf"><img src="/images/xml.gif" alt="XML" width="36" height="14" border="0"> <$MTCategoryLabel$></a><br />
The clever part was using the "dirify=1" attribute of the MTArchive Category to turn things like "web dev" to "web_dev" and "web: good dog" to "web_goof_dog" (trashing ":", turnig spaces to underlines, making all text lowercase)
On the front page, I just inserted for now the two RSS Feeds for what should be the busier sections.
See here are the RSS 1.0 Feeds from CDB:
This opens up some interesting instructional ideas, so that a teacher might make a category for different classes and set up different RSS feeds for them so students could subscribe.
Just one thought