Option: open feed item in target=_blank

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by Grzegorz Zbiński on October 13, 2011 at 8:59pm

Hi guys!

One of my non-developer crew member responsible for pr has asked: "Gregory, feeds from affiliated sites are pretty cool. But is there a way to not escape from page, where feed was clicked?".
So, I was looking for some setup for this, like

[x] Open feeds in new window

I couldn't find it.

First thought: add target=_blank in aggregator-item.tpl.php or wherever link is being prepared.

But don't you think, that this functionality should be added to configuration?

Comments

External links module

Posted by sylvias on October 19, 2011 at 3:51pm

I managed to do what you want with the help of External Links module.
For my own RSS (main and taxonomy term rss), in the patterns section of the configuration I simply add
"taxonomy/term/[0-9]+|mydomain.com/rss.xml" and it works great.
But if the rss feed is pointing to an external site, you don't have to add anything in the configuration.
The feed will open on a new window by default.

Love Drupal, love Greece, love Santorini

RSS & Aggregation

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /