Closed (duplicate)
Project:
FeedAPI
Version:
6.x-1.9-beta2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2009 at 23:54 UTC
Updated:
14 Apr 2010 at 20:56 UTC
Hi, thanks for the module.
I have got 3 different feeds on my site, and im trying to get them into 3 seperate blocks, im having a hard time working views though. The only way I can get my site to differtiate between the diffferent feed items is if I add an argument that gets the id from the url.,So when I create a block all of my feed items are in the same block.
How can I create a block that only has feed items that come from a certain feed parent?
Thanks for any help.
Comments
Comment #1
Steve Dondley commentedWondering the same thing myself. What I'd actually like to do, though, is have an exposed filter so the feed can be selected and display feed items from that feed.
Anyone?
Comment #2
torgospizzaEasy, once you understand Relationships in Views 2. :)
1) Add a new relationship: "FeedAPI: Parent Feed."
2) Under Filter, add a new "Node: Title" filter, and select the "Parent Feed" relationship you chose in Step 1. Expose it if you like.
This will provide a text field where the user can type in the name of the feed source (Digg, Slashdot, etc.). Adding a dropdown list should be as easy as either doing it in a custom module with hook_form_alter, or using this module: http://drupal.org/project/views_filter_pack
Comment #3
aaron stanush commentedThere is a thorough discussion about this (including patches) here: #251957: Filter by Parent Feed Title