Trying to modify the RSS feeds created by Views module in Drupal.
Since there are no ‘theme_’ hooks for the RSS feeds (rightfully as XML is theme-less), I need an alternate way to modify the fields that are output into the RSS, preferably using template.php if possible.
http://api.drupal.org/api/function/format_rss_item/6 looks promising as that is where each row is created, but it doesn’t
node_feed() is what collects the nodes, creates the additional fields, and then calls format_rss_item().
Specifically, we need to remove the dc:creator element from the $extra array created in node_feed()
In the view, if you click on “style information” this will show you the template files used to create the feed. You can copy the template so that it is overridden for your view and remove dc:creator from the
$item_elementsarray.This is not particularly nice as you are modifying data in the theme layer, but it will do what you want.