I added a filter for the parent feed's title. I like this better than filtering by parent feed's nid as was already supplied. Patch is working for me.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Alex UA’s picture

Alex UA’s picture

Version: 5.x-1.2 » 5.x-1.x-dev
FileSize
1.95 KB

I rerolled this patch against the latest dev version of FeedAPI's feedapi_node_views.module . I'm surprised nobody else has needed this...

Aron Novak’s picture

Status: Needs review » Fixed

Useful! Thanks. Committed.

siddhen’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Fixed » Patch (to be ported)

subscribing to D6 port.

drewish’s picture

Component: Code » Code views integration
Status: Patch (to be ported) » Fixed

The patch on #347526: Full views support, admin/content/feed powered by views would allow you to do this in the D6 version. You'd add a relationship to the parent feed and then add a filter or argument for the Node title but specify that you'd like to use the Parent feed relationship that you just added.

Jody Lynn’s picture

Status: Fixed » Patch (to be ported)

It looks like whether or not you use the relationship as you describe or just use an exposed filter for FeedAPI Item: Parent feed, you end up with an exposed filter that's a search bar instead of a dropdown selector, which would be more appropriate.

jtsnow’s picture

Status: Patch (to be ported) » Needs review
FileSize
41.92 KB

Here is a patch that combines the patch from #347526: Full views support, admin/content/feed powered by views and adds a filter for parent feed title via a dropdown select box. Note that this filter requires use of the 'Parent feed' relationship.

jtsnow’s picture

Here is an updated patch against the latest dev version. Also fixed a bug in which 'All' could not be selected by default. This is being used at http://zivtech.com/videos/drupal-video-planet

Jody Lynn’s picture

Status: Needs review » Reviewed & tested by the community

Patch in #8 looks good and is working for us.

drewish’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

jtsnow, why did you merge the code in? it would have been better to keep the issue over on #347526: Full views support, admin/content/feed powered by views where it started. now there's duplicate code spread between two issues. please merge your changes into that issue.

jtsnow’s picture

Status: Closed (duplicate) » Needs review
FileSize
5.32 KB

My apologies, drewish. Anyway, now that #347526: Full views support, admin/content/feed powered by views has been committed, I've re-rolled the patch to add this filter.

drewish’s picture

why can't you do that by adding a relationship, then filtering on node.title on the parent relationship?

jtsnow’s picture

You can, but that method only provides a text box to enter the feed title. This patch provides a select box that lists all feed titles. A live example is at http://zivtech.com/videos/drupal-video-planet

bcobin’s picture

I am completely, totally, utterly confused - the parent feed dropdown would be an enormous help, but I don't know which patch(es) to apply and to which version(s)!

I see the patch was for the "latest dev version" as of December 31, but that version seems not to be available.

I think I've tried every combo, including the thread in #11; the closest I've come was being able to select Feed Title as an option at one point, but I got the error message the field_not_defined, or something like that.

Any help here would be greatly appreciated - filtering by the Parent Feed title is intuitive and obvious as opposed to the current interface. Thanks for coming up with the code and, hopefully, for some guidance as to using it!

drewish’s picture

okay, i agree that this is a worthwile feature, but the implementation feels wrong to me. i going to need this for a site of mine so i'll take a swing at it.

Steve Dondley’s picture

+1 Works as advertised.

-1 It would be better to allow the option to selection of more than one feed with a multi-select menu.

Webster619’s picture

The multi select exposed filter would be a nice addition.

Aaron Stanush’s picture

Missing handler error after applying #11 patch

1) I applied the patch from #11
2) I already have the "FeedAPI Item: Parent feed" relationship set up in my view
3) Added a new filter: FeedAPI Item > FeedAPI Item: Parent Feed Title
4) The following error appears instead of the filter settings: handler for node > feed_title doesn't exist! (see screenshot)

Valeratal’s picture

so
How Filter by Parent Feed Title?