Active
Project:
FeedAPI
Version:
6.x-1.6
Component:
Code views integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2009 at 23:20 UTC
Updated:
16 Nov 2010 at 19:48 UTC
Jump to comment: Most recent
Comments
Comment #1
bflora commentedWould also like this.
Am trying to make a view that lists the latest feed items in the following format
Name of Feed Here Date item was added
Title To Feed Item Goes Here and Links to Source Article
I can get the feed item title and the date added, but how do I get the name of the feed for the feed item?
Comment #2
Anonymous (not verified) commentedSame problem here, had to revert to 6.x-1.5 to get it working again.
Comment #3
newmediaist commentedI just updated to the newest development revision - still no luck adding the link to the feed (not to the feed URL, but rather the feed's location on your drupal site....)
Comment #4
equinox commentedI got this to work with Feedapi version 6.x.1.6
*First you add a relationship to the FeedAPI parent item*
The date you retrieved the item is easy to get- it's directly in the fields list: FeedAPI Item Date
So is the original source URL of the Current Item of your Feed - FeedAPI Item URL
There are two ways I know of to get the Title of the Parent Feed
You can add an argument to your view - (Parent feed) Node: Title
this allows %1 to become available to you as the Title of the Parent Feed
The other way is to select Node: Title as a Field - and then select your parent feed from the relationship drop down for the definition of this field. It will then display the title of the parent feed and not the title of the current news item.
Same process to obtain the URL of your Parent Feed Node - add Node: URL and select the Feedapi relationship and the URL will be the parent URL shown for that field.
Strange but true.
Comment #5
drewish commentedYeah you've got to add a relationship. It lets us leverage a lot more views support in the correct way with out a bunch of duplicated code. The release notes really should have outlined the changes.
Comment #6
alex_b commentedIt's never too late to add release notes: what changes do we know of?
I for my part regret that we haven't branched to DRUPAL-6--2 for the views changes. Will do that the next time we commit a feature that breaks backward compatibility.
For the record, this is the patch that introduced changes to the views integration: #347526: Full views support, admin/content/feed powered by views.
This issue actually effects 1.x-dev, too. Will keep this on 1.6 for the time being though.
Comment #7
elfur commentedI agree with Alex_b in #6 it's a bad thing to break backward compatibility - even when it's for better methods of doing things - without at least proper and easy explanations as to how to make things work in new settings.
Regarding FeedAPI, the main attraction of mine was the linking options it provided. I created a view showing three things in v1.5:
FeedAPI Item: Title with link to original URL
FeedAPI Parent Feed: Title with link to node
FeedAPI Item: Date
... and updating to v1.6 breaks the view, as the first two predefined fields have been removed.
#4 is helpful and adjusts two of the three problems:
I can display the title
I can display the parent feed title with link to the node.
but I cannot display the title with link to original URL.
How in the (bleep) do I make that connection in the title field between Node: Title and FeedAPI Item: URL?
Comment #8
elfur commentedFound the solution in another issue, posting here for future reference. For the old "FeedAPI Item: Title with link to original URL" in post v1.6 settings, select FeedAPI Item: URL as the field, and select the Display: Node title as link.
Comment #9
501cGeek commentedThanks equinox! This is exactly what I needed... hadn't been able to figure out for weeks.