aboutsummaryrefslogtreecommitdiff
path: root/templates/aggregator-item.tpl.php
blob: e2f926219e63e018cf4ed15bbe1d26453cfc11e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
// $Id$
/**
 * @file
 * Output for individual aggregator feed item markup.
 */
?>
<article class="feed-item clearfix">
  <header>
    <h2 class="title feed-item-title"><a href="<?php print $feed_url; ?>"><?php print $feed_title; ?></a></h2>
    <div class="meta feed-item-meta">
      <?php if ($source_url) : ?>
        <a href="<?php print $source_url; ?>" class="feed-item-source"><?php print $source_title; ?></a> &ndash;
      <?php endif; ?>
      <span class="feed-item-date"><?php print $source_date; ?></span>
      <?php if ($categories) : ?>
        <span class="tags feed-item-categories">
          <h3 class="field-label"><?php print t('Categories'); ?>:</h3> <?php print implode(', ', $categories); ?>
      </span>
      <?php endif ;?>
    </div>
  </header>
  <?php if ($content) : ?>
  <div class="content clearfix feed-item-body">
    <?php print $content; ?>
  </div>
<?php endif; ?>
</article>