aboutsummaryrefslogtreecommitdiff
path: root/views/rss/object/album/full.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-26 16:35:25 -0500
committerCash Costello <cash.costello@gmail.com>2011-11-26 16:35:25 -0500
commitca5a35607dfb277cecba120ce27eece7c59f270a (patch)
tree301e5b6fb94a2521f18ce926e69e659fe4e4fa54 /views/rss/object/album/full.php
parent22afb49f30fc9bcd6be84f734e89a9b644f2fb0f (diff)
downloadelgg-ca5a35607dfb277cecba120ce27eece7c59f270a.tar.gz
elgg-ca5a35607dfb277cecba120ce27eece7c59f270a.tar.bz2
fixed RSS feeds for Elgg 1.8
Diffstat (limited to 'views/rss/object/album/full.php')
-rw-r--r--views/rss/object/album/full.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/views/rss/object/album/full.php b/views/rss/object/album/full.php
new file mode 100644
index 000000000..8261e5ce0
--- /dev/null
+++ b/views/rss/object/album/full.php
@@ -0,0 +1,16 @@
+<?php
+/**
+ * List photos in an album for RSS
+ *
+ * @uses $vars['entity'] TidypicsAlbum
+ */
+
+$limit = (int)get_input('limit', 20);
+
+echo elgg_list_entities(array(
+ 'type' => 'object',
+ 'subtype' => 'image',
+ 'container_guid' => $vars['entity']->getGUID(),
+ 'limit' => $limit,
+ 'full_view' => false,
+));