From 1738eb457318068194571f337cff52f9a2bbb29b Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 12 Dec 2009 02:41:16 +0000 Subject: using image rss view for album display and condensed most viewed pages --- views/rss/object/album.php | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) (limited to 'views') diff --git a/views/rss/object/album.php b/views/rss/object/album.php index c59f0e2d3..990322baf 100644 --- a/views/rss/object/album.php +++ b/views/rss/object/album.php @@ -3,13 +3,12 @@ * Tidypics Album RSS View */ - // for now catch the albums view and ignore it - if (get_context() == "search" && get_input('search_viewtype') == "gallery") { - } else { +// for now catch the albums view and ignore it +if (get_context() == "search" && get_input('search_viewtype') == "gallery") { - $album = $vars['entity']; +} else { - $base_url = $vars['url'] . 'mod/tidypics/thumbnail.php?file_guid='; + $album = $vars['entity']; // use fullsize image $base_url_fullsize = $vars['url'] . 'pg/photos/download/'; @@ -30,7 +29,6 @@ <![CDATA[<?php echo $title; ?>]]> getURL() . '?view=rss'; ?> - ' . get_entity($image->owner_guid)->name; - $descr .= ' ' . elgg_echo('tidypics:posted') . '

'; - $descr .= "

guid}&size=small\" />

"; - $descr .= "

{$image->description}

"; - -?> - - <?php echo $image->title; ?> - guid . '&size=large'; ?> - - time_created); ?> - getURL(); ?> - - title; ?> - description); ?> - - - - \ No newline at end of file -- cgit v1.2.3