From: Cash Costello Date: Sun, 28 Jun 2009 14:06:09 +0000 (+0000) Subject: finished up album rss - added embedded photos in the item description X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a98b6fc059974283cdbc7ee2a5d2b90dce30bb0d;p=lorea%2Felgg.git finished up album rss - added embedded photos in the item description --- 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); ?>