We need a relationship to the source node on Views of type "Fast feed".
Field feed_nid of {feeds_data_feed_fast} should link with nid from {node}.
While hook_views_data() is implemented in "data" module I wonder if there's a way to accomplish this... Maybe an alter hook for Views data...
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | feeds-fast-source-relationship-989778-D6.patch | 1.48 KB | claudiu.cristea |
Comments
Comment #1
claudiu.cristeaFound that Views data defined with
hook_views_data()can be altered withhook_views_data_alter(). So I intercepted this in feeds_fast_news module.Here's a patch against
DRUPAL-6--1.Comment #2
Anonymous (not verified) commentedThis is just the patch I was looking for. Worked as expected on my dev & live site. Thanks.
Comment #3
eelco_van_asperen commentedThanks a lot for this patch: solved a problem I was having with the fast feed table and creating a view that includes the name of the feed (i.e. Title of the Fast Feed node).
Comment #4
jonhattanIt works. There's a typo in the code:
btw I guess a general solution to make this relationship available to any feed using data processor is possible.
Comment #5
dave reidWe also no longer use CVS ID tags ($Id$) so those should be removed.
Comment #6
twistor commented