Posted by SamSound on October 16, 2009 at 11:54pm
Jump to:
| Project: | FeedAPI |
| Version: | 6.x-1.9-beta2 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
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
#1
Wondering 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?
#2
Easy, 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
#3
There is a thorough discussion about this (including patches) here: #251957: Filter by Parent Feed Title