function theme_aggregator_page_opml


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 theme_aggregator_page_opml($variables)
cle7 theme_aggregator_page_opml($variables)
elmsmedia7 theme_aggregator_page_opml($variables)
icor7 theme_aggregator_page_opml($variables)
meedjum_blog7 theme_aggregator_page_opml($variables)
mooc7 theme_aggregator_page_opml($variables)

Prints the OPML page for the feed.


$variables: An associative array containing:

  • feeds: An array of the feeds to theme.

Related topics

1 theme call to theme_aggregator_page_opml()
aggregator_page_opml in modules/aggregator/
Page callback: Generates an OPML representation of all feeds.
2 string references to the theme hook from theme_aggregator_page_opml()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

aggregator_menu in modules/aggregator/aggregator.module
Implements hook_menu().
aggregator_theme in modules/aggregator/aggregator.module
Implements hook_theme().


modules/aggregator/, line 500
User page callbacks for the Aggregator module.


function theme_aggregator_page_opml($variables) {
  $feeds = $variables['feeds'];

  drupal_add_http_header('Content-Type', 'text/xml; charset=utf-8');

  $output = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
  $output .= "<opml version=\"1.1\">\n";
  $output .= "<head>\n";
  $output .= '<title>' . check_plain(variable_get('site_name', 'Drupal')) . "</title>\n";
  $output .= '<dateModified>' . gmdate(DATE_RFC2822, REQUEST_TIME) . "</dateModified>\n";
  $output .= "</head>\n";
  $output .= "<body>\n";
  foreach ($feeds as $feed) {
    $output .= '<outline text="' . check_plain($feed->title) . '" xmlUrl="' . check_url($feed->url) . "\" />\n";
  $output .= "</body>\n";
  $output .= "</opml>\n";

  print $output;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.