<?php
-// $Id$
/**
* Provide views plugins for the feed types we support.
}
$view->feed_url = views_get_url($view, $view_args);
}
- else if ($op == 'post_view') {
+ else if ($op == 'post_view' && $view->build_type != 'block') {
$args = views_post_view_make_args($view, $arg, 'feed');
$url = views_get_url($view, $args);
$title = views_get_title($view, 'page', $args);
$namespaces = array_merge($namespaces, $element['namespace']);
}
}
-
+
// Prepare the item description
switch ($item_length) {
case 'fulltext':
drupal_set_header('Content-Type: text/xml; charset=utf-8');
print $output;
module_invoke_all('exit');
- exit;
+ exit;
}