I'm using FeedAPI to aggregate rss content onto my site. I'm trying to use External Link Popularity to sort the content with views, but I'm running into a hiccup.
FeedAPI adds a link to the "Original Article" in the 'links section' of a node (down by add a comment). External Link Popularity correctly registers a vote for the node if this "Original Article" link is clicked.
Now, if I create a view, FeedAPI provides a handful of fields that can be included in the view. The "FeedAPI Item: Title with link to original URL" and "FeedAPI Item: URL" fields provide links to the original article. However, when I click on those links a vote does not register.
Is there a setting or another module that I'm missing to get this working? Or is this not a supported feature?
Comments
Comment #1
neyoung commentedOh, this is with Drupal 6.9, FeedAPI 6.x-1.5, Views 6.x-2.2, VotingAPI 6.x-2.0-rc2, External Link Popularity 6.x-1.4
Comment #2
sikjoy commentedHi:
This is strange. ELP uses a regular expression to pick out the external links. If it finds a link in one place, it should find it in every place. I'll try to duplicate the bug on my dev server. I'll let you know what I find.
Thanks for the much needed extra information.
--sicjoy
Comment #3
sikjoy commentedI just thought of something:
Click tracking can be enabled / disabled on a node type by node type basis. See admin/settings/pop_links under the Node types section.
I'm not sure if the view has a different node type than the Feed API's node. If it does, and click tracking is not enabled for the view node type, that would explain the problem.
This is just a guess on my part, however. Can you confirm that Views is not creating a new node type? If it is, make sure that you have enabled click tracking for the Views node.
Cheers,
sicjoy
Comment #4
neyoung commentedI've named my feed item node type "News". I have tracking enabled for this "News" type. I tried enabling tracking for the "Feed" node type, but that didn't seem to make a difference (I didn't really expect that it would).
The only Node types that are available for tracking at admin/settings/pop_links are...
Feed - FeedAPI feed node type
News - FeedAPI feed item node type
Page - Default Drupal node type
Story - Default Drupal node type
The view type that I'm using is Node. I don't know how to tell if Views is creating a new node type or not. If it is, it's not showing up on admin/content/types.
Here's an export of the view that I'm using.
I hope that helps.
If you need any more information let me know and I can post it.
Comment #5
neyoung commentedFixed a typo in title
Comment #6
dsweeney0126 commenteddid you ever find a resolution? encountering a similar problem
Comment #7
nkschaefer commentedI don't know if anyone is still looking at this issue, but the problem exists because the module currently only looks for links rendered in node bodies - not links within Views fields.
I just wrote a Drupal 7 version of the module that can detect links within Views fields as well as node bodies - as long as, on the Views field, the options "output as a link" and "external link" are both marked true. This depends on Field API, so it's only for Drupal 7 now, but it would probably be easy enough to learn more about how CCK-Views worked and backport it to Drupal 6.
For now, if anyone is using Drupal 7 and wants to try it out, I have a sandbox project for this at http://drupal.org/sandbox/nkschaefer/1238548 where you can check out the code; I also posted a zipped version to this page: http://drupal.org/node/1052402
Thanks,
Nathan