Hi,
Thanks for the great module and allowing feed items to link back to the original item source in views.
I'm trying to get a read more link for teasers. For now I'm trying to add an original article link (the title of the teaser is already linked to the article) to replace the read more link (I'm only displaying teasers of off-site blogs for logged in users so that they don't ever see the full article unless they view it on its original source.)
I've used views to create a list and I've added the following into the relevant views-.tpl.php:
<a href="<?php print $node->links['feedapi_node_item_url']['href'] ?>>Original Article</a>
'Original Article' appears but all it does is link itself to the views page its displayed on (loop?)
What would be the proper code to have a second link to the original feed item's url?
I only need the code to drop into a views-.tpl.php for a link that returns to the original url of the aggregated article.
Comments
Comment #1
summit commentedSubscribing,
greetings,
Martijn
Comment #2
stevebayerin commentedWhat I'm looking for is Drupal 5's equivalent of 'FeedAPI Item: URL'
All I seem to have is 'FeedAPI Item: Title with link to original URL' in Drupal 5 (I'm using Drupal 5 since the site's for a mini-social network.)
Comment #3
alex_b commentedCan be done in a custom module.
Comment #4
vpapadim commentedThat worked for me in drupal 6: