Option: open feed item in target=_blank

Events happening in the community are now at Drupal community events on www.drupal.org.
Grzegorz Zbiński's picture

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

sylvias's picture

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: