aboutsummaryrefslogtreecommitdiff
path: root/views/rss/tidypics
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-12-11 12:54:14 +0000
committerCash Costello <cash.costello@gmail.com>2009-12-11 12:54:14 +0000
commit58fd575a7b28936455baea2856b1d5613d29b477 (patch)
treee338be339d9a966eeda8b63a3d5fa2d58cb8f34a /views/rss/tidypics
parent3bd5e571364385cb93a93b8526e1e90e56db7b49 (diff)
downloadelgg-58fd575a7b28936455baea2856b1d5613d29b477.tar.gz
elgg-58fd575a7b28936455baea2856b1d5613d29b477.tar.bz2
working on adding rss feeds for all listing pages
Diffstat (limited to 'views/rss/tidypics')
-rw-r--r--views/rss/tidypics/gallery.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/views/rss/tidypics/gallery.php b/views/rss/tidypics/gallery.php
new file mode 100644
index 000000000..2fcf2ac76
--- /dev/null
+++ b/views/rss/tidypics/gallery.php
@@ -0,0 +1,18 @@
+<?php
+ /**
+ * Tidypics Listing RSS View
+ */
+
+$context = $vars['context'];
+$entities = $vars['entities'];
+$count = $vars['count'];
+$baseurl = $vars['baseurl'];
+
+
+if (is_array($entities) && sizeof($entities) > 0) {
+ foreach($entities as $entity) {
+ echo elgg_view_entity($entity);
+ }
+}
+
+?> \ No newline at end of file