The view that feedapi uses lists unpublished nodes. Sometimes if a feed is broken, damaged or the feed's service is down bad posts can come through. Technorati's keyword search feeds recently had an RSS feed item "No Items" for example. I didn't want to delete the aggregated node because I want feed api to recognize it as duplicate in the future, so I unpublished it.

I fixed the view in Views UI, here is the export:

  $view = new stdClass();
  $view->name = 'feeds';
  $view->description = 'Show a listing of all feed items for a feed';
  $view->access = array (
);
  $view->view_args_php = '';
  $view->page = TRUE;
  $view->page_title = 'Feed items';
  $view->page_header = '';
  $view->page_header_format = '1';
  $view->page_footer = '';
  $view->page_footer_format = '1';
  $view->page_empty = 'No feed items found.';
  $view->page_empty_format = '1';
  $view->page_type = 'teaser';
  $view->url = 'feed-item';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '10';
  $view->sort = array (
    array (
      'tablename' => 'node',
      'field' => 'created',
      'sortorder' => 'DESC',
      'options' => 'normal',
    ),
  );
  $view->argument = array (
    array (
      'type' => 'feed_nid',
      'argdefault' => '1',
      'title' => '%1',
      'options' => '',
      'wildcard' => '',
      'wildcard_substitution' => '',
    ),
  );
  $view->field = array (
  );
  $view->filter = array (
    array (
      'tablename' => 'node',
      'field' => 'status',
      'operator' => '=',
      'options' => '',
      'value' => '1',
    ),
  );
  $view->exposed_filter = array (
  );
  $view->requires = array(node);
  $views[$view->name] = $view;

Comments

aron novak’s picture

Status: Needs review » Fixed

Thank you, it's committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.