aboutsummaryrefslogtreecommitdiff
path: root/views/rss/annotation/default.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-10-29 15:07:43 -0400
committercash <cash.costello@gmail.com>2011-10-29 15:07:43 -0400
commit4106d50727d5a56ec1442b16e182fbd9acc6b167 (patch)
tree461b4ed1050214bdd681b7368ba56d5cb5a4092e /views/rss/annotation/default.php
parent508000e9e3a49c0f659279ba916bde4a771ed777 (diff)
downloadelgg-4106d50727d5a56ec1442b16e182fbd9acc6b167.tar.gz
elgg-4106d50727d5a56ec1442b16e182fbd9acc6b167.tar.bz2
Fixes #3201 updates rss view type for core Elgg
Diffstat (limited to 'views/rss/annotation/default.php')
-rw-r--r--views/rss/annotation/default.php34
1 files changed, 0 insertions, 34 deletions
diff --git a/views/rss/annotation/default.php b/views/rss/annotation/default.php
deleted file mode 100644
index 98329f132..000000000
--- a/views/rss/annotation/default.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-/**
- * Elgg RSS view for a generic comment
- *
- * @package Elgg
- * @subpackage Core
- */
-
-$entity = get_entity($vars['annotation']->entity_guid);
-
-$title = substr($vars['annotation']->value, 0, 32);
-if (strlen($vars['annotation']->value) > 32) {
- $title .= " ...";
-}
-
-$permalink = $entity->getURL();
-$pubdate = date('r', $entity->time_created);
-
-$creator = elgg_view('object/creator', array('entity' => $entity));
-$georss = elgg_view('object/georss', array('entity' => $entity));
-$extensions = elgg_view('extensions/item');
-
-$item = <<<__HTML
-<item>
- <guid isPermaLink='true'>$permalink#{$vars['annotation']->id}</guid>
- <pubDate>$pubdate</pubDate>
- <link>$permalink#{$vars['annotation']->id}</link>
- <title><![CDATA[$title]]></title>
- <description><![CDATA[{$vars['annotation']->value}]]></description>
- $creator$georss$extensions
-</item>
-__HTML;
-
-echo $item;