Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I have 5 RSS feeds I am looking to embed into the <head> section of the page. What is the best way to accomplish this on drupal 7?

share|improve this question

1 Answer

up vote 4 down vote accepted

You can use drupal_add_feed() or if you don't want to have an icon appear on the page itself

 drupal_add_html_head_link(array(
    'rel' => 'alternate',
    'type' => 'application/rss+xml',
    'title' => $title,
    'href' => $url
  ));
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.