name = 'feeds_defaults_feed_items'; $view->description = 'Show feed items for a feed node. Use together with default importer configuration "Feed".'; $view->tag = 'Feeds defaults'; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = '3.0-alpha1'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ /* Display: Defaults */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->display->display_options['access']['type'] = 'perm'; $handler->display->display_options['cache']['type'] = 'none'; $handler->display->display_options['query']['type'] = 'views_query'; $handler->display->display_options['exposed_form']['type'] = 'basic'; $handler->display->display_options['pager']['type'] = 'full'; $handler->display->display_options['style_plugin'] = 'default'; $handler->display->display_options['row_plugin'] = 'fields'; /* Empty text: Global: Text area */ $handler->display->display_options['empty']['text']['id'] = 'area'; $handler->display->display_options['empty']['text']['table'] = 'views'; $handler->display->display_options['empty']['text']['field'] = 'area'; $handler->display->display_options['empty']['text']['empty'] = FALSE; $handler->display->display_options['empty']['text']['content'] = 'There are no items for this feed at the moment.'; $handler->display->display_options['empty']['text']['format'] = '1'; /* Relationship: Feeds item: Owner feed */ $handler->display->display_options['relationships']['feed_nid_1']['id'] = 'feed_nid_1'; $handler->display->display_options['relationships']['feed_nid_1']['table'] = 'feeds_item'; $handler->display->display_options['relationships']['feed_nid_1']['field'] = 'feed_nid'; $handler->display->display_options['relationships']['feed_nid_1']['required'] = 1; /* Field: Node: Title */ $handler->display->display_options['fields']['title_1']['id'] = 'title_1'; $handler->display->display_options['fields']['title_1']['table'] = 'node'; $handler->display->display_options['fields']['title_1']['field'] = 'title'; $handler->display->display_options['fields']['title_1']['relationship'] = 'feed_nid_1'; $handler->display->display_options['fields']['title_1']['label'] = 'From'; $handler->display->display_options['fields']['title_1']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['title_1']['alter']['make_link'] = 0; $handler->display->display_options['fields']['title_1']['alter']['absolute'] = 0; $handler->display->display_options['fields']['title_1']['alter']['trim'] = 0; $handler->display->display_options['fields']['title_1']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['title_1']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['title_1']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['title_1']['alter']['html'] = 0; $handler->display->display_options['fields']['title_1']['hide_empty'] = 0; $handler->display->display_options['fields']['title_1']['empty_zero'] = 0; $handler->display->display_options['fields']['title_1']['link_to_node'] = 1; /* Field: Feeds item: Item URL */ $handler->display->display_options['fields']['url']['id'] = 'url'; $handler->display->display_options['fields']['url']['table'] = 'feeds_item'; $handler->display->display_options['fields']['url']['field'] = 'url'; $handler->display->display_options['fields']['url']['label'] = ''; $handler->display->display_options['fields']['url']['exclude'] = TRUE; $handler->display->display_options['fields']['url']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['url']['alter']['make_link'] = 0; $handler->display->display_options['fields']['url']['alter']['absolute'] = 0; $handler->display->display_options['fields']['url']['alter']['trim'] = 0; $handler->display->display_options['fields']['url']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['url']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['url']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['url']['alter']['html'] = 0; $handler->display->display_options['fields']['url']['hide_empty'] = 0; $handler->display->display_options['fields']['url']['empty_zero'] = 0; $handler->display->display_options['fields']['url']['display_as_link'] = 0; /* Field: Node: Title */ $handler->display->display_options['fields']['title']['id'] = 'title'; $handler->display->display_options['fields']['title']['table'] = 'node'; $handler->display->display_options['fields']['title']['field'] = 'title'; $handler->display->display_options['fields']['title']['label'] = ''; $handler->display->display_options['fields']['title']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['title']['alter']['make_link'] = 1; $handler->display->display_options['fields']['title']['alter']['path'] = '[url]'; $handler->display->display_options['fields']['title']['alter']['absolute'] = 0; $handler->display->display_options['fields']['title']['alter']['prefix'] = '

'; $handler->display->display_options['fields']['title']['alter']['suffix'] = '

'; $handler->display->display_options['fields']['title']['alter']['trim'] = 0; $handler->display->display_options['fields']['title']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['title']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['title']['alter']['html'] = 0; $handler->display->display_options['fields']['title']['hide_empty'] = 0; $handler->display->display_options['fields']['title']['empty_zero'] = 0; $handler->display->display_options['fields']['title']['link_to_node'] = 0; /* Field: Fields: field_feed_item_description */ $handler->display->display_options['fields']['entity_id']['id'] = 'entity_id'; $handler->display->display_options['fields']['entity_id']['table'] = 'field_data_field_feed_item_description'; $handler->display->display_options['fields']['entity_id']['field'] = 'entity_id'; $handler->display->display_options['fields']['entity_id']['label'] = ''; $handler->display->display_options['fields']['entity_id']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['entity_id']['alter']['make_link'] = 0; $handler->display->display_options['fields']['entity_id']['alter']['absolute'] = 0; $handler->display->display_options['fields']['entity_id']['alter']['trim'] = 0; $handler->display->display_options['fields']['entity_id']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['entity_id']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['entity_id']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['entity_id']['alter']['html'] = 0; $handler->display->display_options['fields']['entity_id']['hide_empty'] = 0; $handler->display->display_options['fields']['entity_id']['empty_zero'] = 0; /* Field: Node: Edit link */ $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node'; $handler->display->display_options['fields']['edit_node']['table'] = 'node'; $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node'; $handler->display->display_options['fields']['edit_node']['label'] = ''; $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = 0; $handler->display->display_options['fields']['edit_node']['alter']['make_link'] = 0; $handler->display->display_options['fields']['edit_node']['alter']['absolute'] = 0; $handler->display->display_options['fields']['edit_node']['alter']['trim'] = 0; $handler->display->display_options['fields']['edit_node']['alter']['word_boundary'] = 1; $handler->display->display_options['fields']['edit_node']['alter']['ellipsis'] = 1; $handler->display->display_options['fields']['edit_node']['alter']['strip_tags'] = 0; $handler->display->display_options['fields']['edit_node']['alter']['html'] = 0; $handler->display->display_options['fields']['edit_node']['hide_empty'] = 0; $handler->display->display_options['fields']['edit_node']['empty_zero'] = 0; $handler->display->display_options['fields']['edit_node']['text'] = 'Edit'; /* Argument: Node: Nid */ $handler->display->display_options['arguments']['nid']['id'] = 'nid'; $handler->display->display_options['arguments']['nid']['table'] = 'node'; $handler->display->display_options['arguments']['nid']['field'] = 'nid'; $handler->display->display_options['arguments']['nid']['relationship'] = 'feed_nid_1'; $handler->display->display_options['arguments']['nid']['default_action'] = 'empty'; $handler->display->display_options['arguments']['nid']['style_plugin'] = 'default_summary'; $handler->display->display_options['arguments']['nid']['title'] = 'Articles from %1'; $handler->display->display_options['arguments']['nid']['default_argument_type'] = 'fixed'; $handler->display->display_options['arguments']['nid']['break_phrase'] = 0; $handler->display->display_options['arguments']['nid']['not'] = 0; /* Filter: Node: Type */ $handler->display->display_options['filters']['type']['id'] = 'type'; $handler->display->display_options['filters']['type']['table'] = 'node'; $handler->display->display_options['filters']['type']['field'] = 'type'; $handler->display->display_options['filters']['type']['value'] = array( 'feed_item' => 'feed_item', ); $handler->display->display_options['filters']['type']['expose']['operator'] = FALSE; /* Display: Page */ $handler = $view->new_display('page', 'Page', 'page_1'); $handler->display->display_options['path'] = 'node/%/feed-items'; $handler->display->display_options['menu']['type'] = 'tab'; $handler->display->display_options['menu']['title'] = 'View items'; $handler->display->display_options['menu']['weight'] = '0'; $views[$view->name] = $view; return $views; }