$data['feeds_source']['feed_nid'] = array(
    'title' => 'Feed node id',
    'help' => 'Contains the node id of a feed node if the feed\'s configuration is attached to a content type, otherwise contains 0.',
    'field' => array(
      'handler' => 'views_handler_field_numeric',
      'click sortable' => TRUE,
    ),

use the views_handler_field_node handler to inherit options to link to the node.

CommentFileSizeAuthor
#1 690582.feeds_.views-node-fields.patch1.1 KBjoachim

Comments

joachim’s picture

Status: Active » Needs review
StatusFileSize
new1.1 KB

Patch.

May need custom handler for the field that sometimes has zero; alternatively, this field can just be set to treat 0 as empty in the UI.

alex_b’s picture

Version: 6.x-1.0-alpha8 » 6.x-1.x-dev
Status: Needs review » Needs work

I applied this patch to latest dev, built a view that links a feeds source feed nid to a node and I get this error:

http://skitch.com/alexbarth/dbydm/feeds

kenorb’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

Closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.