aboutsummaryrefslogtreecommitdiff
path: root/views/rss/videolist
diff options
context:
space:
mode:
Diffstat (limited to 'views/rss/videolist')
-rw-r--r--views/rss/videolist/contentwrapper.php15
-rw-r--r--views/rss/videolist/videolist.php17
2 files changed, 32 insertions, 0 deletions
diff --git a/views/rss/videolist/contentwrapper.php b/views/rss/videolist/contentwrapper.php
new file mode 100644
index 000000000..b967ab371
--- /dev/null
+++ b/views/rss/videolist/contentwrapper.php
@@ -0,0 +1,15 @@
+<?php
+ /**
+ * Elgg Videolist Plugin
+ * This plugin allows users to create a library of youtube videos
+ *
+ * @package ElggProfile
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Prateek Choudhary <synapticfield@gmail.com>
+ * @copyright Prateek Choudhary
+ */
+
+
+ echo $vars['body'];
+
+?>
diff --git a/views/rss/videolist/videolist.php b/views/rss/videolist/videolist.php
new file mode 100644
index 000000000..f88300d98
--- /dev/null
+++ b/views/rss/videolist/videolist.php
@@ -0,0 +1,17 @@
+<?php
+ /**
+ * Elgg Videolist Plugin
+ * This plugin allows users to create a library of youtube videos
+ *
+ * @package ElggProfile
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Prateek Choudhary <synapticfield@gmail.com>
+ * @copyright Prateek Choudhary
+ */
+
+ if ($foreach = get_entities('object','',$vars['entity']->guid)) {
+ foreach($foreach as $videos)
+ echo elgg_view_entity($videos);
+ }
+
+?>