aggregator-summary-items.tpl.php

  1. drupal
    1. 6
    2. 8
    3. 7

Default theme implementation to present feeds as list items.

Each iteration generates a single feed source or category.

Available variables:

  • $title: Title of the feed or category.
  • $summary_list: Unordered list of linked feed items generated through theme_item_list().
  • $source_url: URL to the local source or category.

See also

template_preprocess()

template_preprocess_aggregator_summary_items()

View source
<?php

/**
 * @file
 * Default theme implementation to present feeds as list items.
 *
 * Each iteration generates a single feed source or category.
 *
 * Available variables:
 * - $title: Title of the feed or category.
 * - $summary_list: Unordered list of linked feed items generated through
 *   theme_item_list().
 * - $source_url: URL to the local source or category.
 *
 * @see template_preprocess()
 * @see template_preprocess_aggregator_summary_items()
 */
?>
<h3><?php print $title; ?></h3>
<?php print $summary_list; ?>
<div class="links">
  <a href="<?php print $source_url; ?>"><?php print t('More'); ?></a>
</div>