Currently, when viewing the feed aggregator that has RSS feeds from different websites in Firefox 2.0.0.12, I see multiple external link icons showing up on the page. When viewing the same page in IE7, they do not appear. I checked the source code in both browsers and they are the same. So I'm not sure if this is a browser issue or a module/theme issue. I've attached images showing the issue I'm talking about.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

SimplyBlue’s picture

Project: External Links » Marinelli
Version: 6.x-1.6 » 6.x-1.7
Category: bug » support

Since I'm getting no support at External Links, I thought I'd try this board to see if it could be a CSS issue.

dchapiesky’s picture

I checked the following files:

tploverrides/aggregator/aggregator-item.tpl.php
img/*.*
style.css

In aggregator-item.tpl.php look for the following code:

<div class="feedcontainer">
...
<div class="feedcontent">
  <h2>
    <a href="<?php print $feed_url; ?>"><?php print $feed_title; ?></a>
  </h2>
  <?php if ($source_url) : ?>
    <p class="feedinfo"><span class="sorgente"><a href="<?php print $source_url; ?>" class="feed-item-source"><?php print $source_title; ?></a></span> -
  <?php endif; ?>
<?php print $source_date; ?></p>
<?php if ($content) : ?>
    <p><?php print $content; ?></p>
<?php endif; ?>
<?php if ($categories) : ?>
   <p> <?php print t('Categories'); ?>: <?php print implode(', ', $categories); ?></p>
<?php endif ;?>
</div>
</div>

Let's trace where these links are being introduced...

We can find the source date easily...
Following that is the feed content...
then the links appear...
and then the divider line...

The divider line is displayed based on an entry for feedcontent in style.css

The only thing between the content and the end of feedcontent is the categories....

I will assume that categories is not the issue here... why? because the link image being displayed is not one of the images packaged with Marinelli in the img directory... I also searched my drupal distribution and could not find this link image there either...

So my belief is that the links are part of the content provided by your feeds...

Could you post the xml for those feeds as well as the saved html file from the page?

Daniel

SimplyBlue’s picture

Thanks for the reply.

Here's the link to my aggregator page on my website - http://www.jeffreyyep.com/aggregator. The feeds I'm using are - http://feeds.reuters.com/reuters/topNews & http://feeds.wired.com/wired/index

I can definitely see links that would cause the External Links module to kick in but I'm just confused as to how IE does not display the icons whereas Firefox does.

dchapiesky’s picture

I saved the source and edited it...

<p><a href="http://feeds.reuters.com/~a/reuters/topNews?a=VtBmwr"></a></p>
<a href="http://feeds.reuters.com/~f/reuters/topNews?a=sddlO8G">WORKS</a> <a href="http://feeds.reuters.com/~f/reuters/topNews?a=g3va86g"></a> <a href="http://feeds.reuters.com/~f/reuters/topNews?a=ODU8A4g"></a>

The line with "WORKS" in it displays properly... the empty anchors do not display in IE7....

I looked around and coudn't find any answers on it...

Sorry,

Daniel

oadaeh’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

This issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-4.x branch.
Thank you.