This snippet shows you how to customize views RSS feed title in Drupal. This example shows you how to create title for taxonomy feed, so that the title would be the term with it's parents.
Source code viewer
/** * Implements template_preprocess_views_view_rss(). */ function THEME_preprocess_views_view_rss(&$vars) { if ($vars['view']->name == 'taxonomy_term' && $tree = taxonomy_get_parents_all(arg(2))) { $vars['title'] = ''; foreach ($tree as $term) { $vars['title'] .= $term->name; } } }Programming Language: PHP