aggregator-summary-item.tpl.php

  1. 7.x drupal-7.x/modules/aggregator/aggregator-summary-item.tpl.php
  2. 6.x drupal-6.x/modules/aggregator/aggregator-summary-item.tpl.php

aggregator-summary-item.tpl.php Default theme implementation to present a linked feed item for summaries.

Available variables:

  • $feed_url: Link to originating feed.
  • $feed_title: Title of feed.
  • $feed_age: Age of remote feed.
  • $source_url: Link to remote source.
  • $source_title: Locally set title for the source.

See also

template_preprocess()

template_preprocess_aggregator_summary_item()

2 theme calls to aggregator-summary-item.tpl.php
aggregator_page_categories in drupal-6.x/modules/aggregator/aggregator.pages.inc
Menu callback; displays all the categories used by the aggregator.
aggregator_page_sources in drupal-6.x/modules/aggregator/aggregator.pages.inc
Menu callback; displays all the feeds used by the aggregator.

File

drupal-6.x/modules/aggregator/aggregator-summary-item.tpl.php
View source
  1. <?php
  2. /**
  3. * @file aggregator-summary-item.tpl.php
  4. * Default theme implementation to present a linked feed item for summaries.
  5. *
  6. * Available variables:
  7. * - $feed_url: Link to originating feed.
  8. * - $feed_title: Title of feed.
  9. * - $feed_age: Age of remote feed.
  10. * - $source_url: Link to remote source.
  11. * - $source_title: Locally set title for the source.
  12. *
  13. * @see template_preprocess()
  14. * @see template_preprocess_aggregator_summary_item()
  15. */
  16. ?>
  17. <a href="<?php print $feed_url; ?>"><?php print $feed_title; ?></a> <span class="age"><?php print $feed_age; ?></span><?php if ($source_url) : ?>, <span class="source"><a href="<?php print $source_url; ?>"><?php print $source_title; ?></a></span><?php endif; ?>