From a98b6fc059974283cdbc7ee2a5d2b90dce30bb0d Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 28 Jun 2009 14:06:09 +0000 Subject: finished up album rss - added embedded photos in the item description --- views/rss/object/album.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'views/rss/object/album.php') diff --git a/views/rss/object/album.php b/views/rss/object/album.php index 7afb19d34..e429ee94d 100644 --- a/views/rss/object/album.php +++ b/views/rss/object/album.php @@ -33,19 +33,21 @@ foreach ($images as $image) { - $caption = $image->description; - if (!$caption) - $caption = "No caption"; + $descr = '

' . get_entity($image->owner_guid)->name; + $descr .= ' ' . elgg_echo('tidypics:posted') . '

'; + $descr .= "

guid}&size=small\" />

"; + $descr .= "

{$image->description}

"; + ?> <?php echo $image->title; ?> getURL(); ?> - + time_created); ?> getURL(); ?> title; ?> - + description); ?> -- cgit v1.2.3