I want to alter the RSS feeds that are generated for taxonomy terms. I can see that these feeds are generated with the method node_feed from the taxonomy.module function taxonomy_term_page. What is the best way to alter this feed? Would it better to intercept the request to the 'feed' url and build my own, or to alter the RSS output by taxonomy (I just want to change one element value and remove another)? Or should I just give up and hack taxonomy.module (I don't think this is the answer!)?
I'm still new to module development so I'm not sure the best way to attack this issue. I've done something similar already with views_rss which is easier because I was able to easily override the plugin theme_views_rss_feed in my own template.php. Any and all relevant examples are welcome. Thanks!
Comments
Try Content Template
Depending on which fields you are wanting to display, you should be able to accomplish this utilizing views by building off of the default taxonomy view, changing the path and arguments so that it doesn't affect your non-rss display, and then add/remove the fields that you want.
However, you might checkout Content Template. This module provides a relatively easy way for customizing the RSS feeds. I have yet to use Contemplate specifically for RSS feeds but it should do the trick.