Same name and namespace in other branches
  1. 5.x includes/common.inc \drupal_get_feeds()
  2. 6.x includes/common.inc \drupal_get_feeds()

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($delimiter, $feeds);
}