Say, I want to have the main site feed - rss.xml - appear on all pages and not just the front page. If I put it in as a Global, it will appear twice on the Front Page.

Is there a way to eliminate these duplicates? Perhaps by providing a provision to eliminate the feed from certain pages?

Comments

kjholla’s picture

Turns out that this can be achieved with a very simple code change in the file feed_path_publisher.module

In the function _feed_path_publisher_add_feeds, around Line 77 in this file, you will find:

    drupal_add_link(array('rel' => 'alternate',
                          'type' => 'application/rss+xml',
                          'title' => $row->title,
                          'href' => url($row->feed))); 	

I changed this to:

    drupal_add_feed(url($row->feed), $row->title);

That does it!

Yannick Defais’s picture

Hi,

I have the same issue ( http://ekiga.org/ ). As the proposed fix was not committed, will the feature be added any time soon?

Regards,
Yannick