diff options
Diffstat (limited to 'modules/rss/views')
-rw-r--r-- | modules/rss/views/feed.mrss.php | 6 | ||||
-rw-r--r-- | modules/rss/views/rss_block.html.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/rss/views/feed.mrss.php b/modules/rss/views/feed.mrss.php index 3612cbc0..5fce8699 100644 --- a/modules/rss/views/feed.mrss.php +++ b/modules/rss/views/feed.mrss.php @@ -26,11 +26,12 @@ <link><?= url::abs_site("{$child->type}s/{$child->id}") ?></link> <guid isPermaLink="true"><?= url::abs_site("{$child->type}s/{$child->id}") ?></guid> <pubDate><?= date("D, d M Y H:i:s T", $child->created); ?></pubDate> + <description><?= html::purify($child->description) ?></description> <content:encoded> <![CDATA[ <span><?= html::purify($child->description) ?></span> <p> - <? if ($child->type == "photo" || $child->type == "album"): ?> + <? if ($child->type == "photo"): ?> <img alt="" src="<?= $child->resize_url(true) ?>" title="<?= html::purify($child->title)->for_html_attr() ?>" height="<?= $child->resize_height ?>" width="<?= $child->resize_width ?>" /><br /> @@ -45,12 +46,11 @@ ]]> </content:encoded> <media:thumbnail url="<?= $child->thumb_url(true) ?>" - fileSize="<?= @filesize($child->thumb_path()) ?>" height="<?= $child->thumb_height ?>" width="<?= $child->thumb_width ?>" /> <media:group> - <? if ($child->type == "photo" || $child->type == "album"): ?> + <? if ($child->type == "photo"): ?> <media:content url="<?= $child->resize_url(true) ?>" fileSize="<?= @filesize($child->resize_path()) ?>" type="<?= $child->mime_type ?>" diff --git a/modules/rss/views/rss_block.html.php b/modules/rss/views/rss_block.html.php index 737731b6..210c72a5 100644 --- a/modules/rss/views/rss_block.html.php +++ b/modules/rss/views/rss_block.html.php @@ -1,5 +1,5 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> -<ul id="gFeeds"> +<ul id="g-feeds"> <? foreach($feeds as $url => $title): ?> <li style="clear: both;"> <span class="ui-icon-left"> |