From 8a555c332c4c1172375aa589aded36537b1f967e Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Wed, 24 Jun 2009 11:57:27 +0000 Subject: added album object for rss view --- views/rss/object/album.php | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 views/rss/object/album.php (limited to 'views/rss/object/album.php') diff --git a/views/rss/object/album.php b/views/rss/object/album.php new file mode 100644 index 000000000..9f7b7b123 --- /dev/null +++ b/views/rss/object/album.php @@ -0,0 +1,38 @@ +title; + if (empty($title)) { + $subtitle = strip_tags($vars['entity']->description); + $title = substr($subtitle,0,32); + if (strlen($subtitle) > 32) + $title .= " ..."; + } + + $owner_guid = $album->getOwner(); + $images = get_entities("object", "image", 0, "", 10, 0, false, 0, $album->container_guid); + + //error_log(count($images)); +?> + + + getURL()); ?> + time_created) ?> + getURL()); ?> + <![CDATA[<?php echo $title; ?>]]> + description)); ?>]]> +getOwnerEntity(); + if ($owner) + { +?> + name; ?> + + + -- cgit v1.2.3