Closed (fixed)
Project:
Link
Version:
5.x-2.3.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2008 at 19:17 UTC
Updated:
16 Apr 2009 at 02:13 UTC
Hi there,
I have a content type with a link field. I want the link field in an RSS view that is sorted via the voting api.
I tried messing with this module (http://drupal.org/project/link_views_rss) and followed the instructions in the readme file, but couldn't see how to set this up. It may not even be the right module.
Anyone have any ideas?
Thanks,
Comments
Comment #1
JoeMcGuire commentedI think you are asking for control over what content fields appear in the RSS view.
The module to control this is Content Templates
http://drupal.org/project/contemplate
Try installing the module and enabling 'Affect RSS output' on the appropriate content type.
This should straight away give you a far more concise Views RSS feed, but you'll likely then want to edit what fields are displayed, which you can do through the contemplate interface.
Comment #2
TimG1 commentedHi Joe,
Contemplate seemed to work just fine. Do you happen to know how to accomplish the exact same thing but using the tpl.php files instead? For example, my content type is called "In The Media" and am wondering how I modify views-view-row-rss--in-the-media.tpl.php in my theme directory to add the fields that I want. Doing something like
print $node->field_url[0]['view']is not working.-Tim