aboutsummaryrefslogtreecommitdiff
path: root/views/rss/object/album.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-12-13 02:03:17 +0000
committerCash Costello <cash.costello@gmail.com>2009-12-13 02:03:17 +0000
commitdd8ff039f642b9eb6ea65cc1a58017ce867ec7b3 (patch)
tree71f92cbf22405ddbec079480e207c7fd3fe00e0a /views/rss/object/album.php
parente7a7c88d81f494d8a0c99f36338247caaf6b4bd3 (diff)
downloadelgg-dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3.tar.gz
elgg-dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3.tar.bz2
fixed display of some album pages - caused a cascade of changes required
Diffstat (limited to 'views/rss/object/album.php')
-rw-r--r--views/rss/object/album.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/views/rss/object/album.php b/views/rss/object/album.php
index 2ad4ed9f7..9c037b20f 100644
--- a/views/rss/object/album.php
+++ b/views/rss/object/album.php
@@ -5,7 +5,16 @@
// for now catch the albums view and ignore it
if (get_context() == "search" && get_input('search_viewtype') == "gallery") {
+?>
+ <item>
+ <guid isPermaLink='true'><?php echo $vars['entity']->getURL(); ?></guid>
+ <pubDate><?php echo date("r",$vars['entity']->time_created) ?></pubDate>
+ <link><?php echo $vars['entity']->getURL(); ?></link>
+ <title><![CDATA[<?php echo $$vars['entity']->title; ?>]]></title>
+ <description><![CDATA[<?php echo (autop($vars['entity']->description)); ?>]]></description>
+ </item>
+<?php
} else {
$album = $vars['entity'];