function template_preprocess_views_view_row_rss

Default theme function for all RSS rows.

File

drupal/core/modules/views/theme/theme.inc, line 928
Preprocessors and helper functions to make theming easier.

Code

function template_preprocess_views_view_row_rss(&$vars) {
  $view =& $vars['view'];
  $options =& $vars['options'];
  $item =& $vars['row'];
  $vars['title'] = check_plain($item->title);
  $vars['link'] = check_url($item->link);
  $vars['description'] = check_plain($item->description);
  $vars['item_elements'] = empty($item->elements) ? '' : format_xml_elements($item->elements);
}