drupal_get_feeds

Versions
5 – 7
drupal_get_feeds($delimiter = "\n")

Get the feed URLs for the current page.

Parameters

$delimiter The delimiter to split feeds by

▾ 3 functions call drupal_get_feeds()

chameleon_page in themes/chameleon/chameleon.theme
phptemplate_page in themes/engines/phptemplate/phptemplate.engine
Prepare the values passed to the theme_page function to be passed into a pluggable template engine. Uses the arg() function to generate a series of page template files suggestions based on the current path. If none are found, the default page.tpl.php...
theme_page in includes/theme.inc
Return an entire Drupal page displaying the supplied content.

Code

includes/common.inc, line 190

<?php
function drupal_get_feeds($delimiter = "\n") {
  $feeds = drupal_add_feed();
  return implode($feeds, $delimiter);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.