5.x common.inc drupal_get_feeds($delimiter = "\n")
6.x common.inc drupal_get_feeds($delimiter = "\n")
7.x common.inc drupal_get_feeds($delimiter = "\n")

Gets the feed URLs for the current page.

Parameters

$delimiter: A delimiter to split feeds by.

1 call to drupal_get_feeds()
template_preprocess_page in includes/theme.inc
Preprocess variables for page.tpl.php

File

includes/common.inc, line 392
Common functions that many Drupal modules will need to reference.

Code

function drupal_get_feeds($delimiter = "\n") {
  $feeds = drupal_add_feed();
  return implode($feeds, $delimiter);
}