summaryrefslogtreecommitdiff
path: root/modules/rss/views
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-11-15 19:44:47 -0800
committerAndy Staudacher <andy.st@gmail.com>2009-11-15 19:44:47 -0800
commit0733dc37fda27a5ba35f9020edf3c66aa41a95a0 (patch)
tree6877946232f1b01b1c8709054c689f6658cef34f /modules/rss/views
parent218493c50be9362d4abed6900a816308fee5d978 (diff)
parent9379308f91a476f790fb8d444536719535c584e4 (diff)
Merge commit 'upstream/master'
Conflicts: modules/gallery/tests/xss_data.txt
Diffstat (limited to 'modules/rss/views')
-rw-r--r--modules/rss/views/feed.mrss.php6
-rw-r--r--modules/rss/views/rss_block.html.php2
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">