aboutsummaryrefslogtreecommitdiffstats
path: root/rss.php
diff options
context:
space:
mode:
Diffstat (limited to 'rss.php')
-rw-r--r--rss.php18
1 files changed, 10 insertions, 8 deletions
diff --git a/rss.php b/rss.php
index 4468a7d..022b6e6 100644
--- a/rss.php
+++ b/rss.php
@@ -279,14 +279,16 @@ $base = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
<p>Try unfiltering some feeds!</p>
<?php endif;
foreach ($combined as $entry): ?>
- <article>
- <?php if(isset($entry['title'])): ?>
- <h1><a target="<?= $config['link_target'] ?>" href="<?= $entry['link'] ?>"><?= $entry['title'] ?></a></h1>
- <?php endif; ?>
- <?php if(isset($entry['content'])): ?>
- <div class="content"><?= $entry['content'] ?></div>
- <?php endif; ?>
- <span class="source" data-source="<?= $entry['source'] ?>">
+ <article data-source="<?= $entry['source'] ?>">
+ <div class="content">
+ <?php if(isset($entry['title'])): ?>
+ <h1 class="title"><a target="<?= $config['link_target'] ?>" href="<?= $entry['link'] ?>"><?= $entry['title'] ?></a></h1>
+ <?php endif; ?>
+ <?php if(isset($entry['content'])): ?>
+ <div><?= $entry['content'] ?></div>
+ <?php endif; ?>
+ </div>
+ <span class="source">
<?php if ($entry['home']): ?>
<a target="<?= $config['link_target'] ?>" href="<?= $entry['home'] ?>"><?= $entry['source'] ?></a>
<?php else: ?>