aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2010-05-08 11:47:15 +0000
committerCash Costello <cash.costello@gmail.com>2010-05-08 11:47:15 +0000
commit2c5882e91c3479d2e06b41e6c8d21be5fc8620b2 (patch)
tree130bfca7fd3e7ca509226af2f53422e745133920
parent4096298f0e0bcdaf8b3247305211d851e6eacdf6 (diff)
downloadelgg-2c5882e91c3479d2e06b41e6c8d21be5fc8620b2.tar.gz
elgg-2c5882e91c3479d2e06b41e6c8d21be5fc8620b2.tar.bz2
Elgg now includes a decent RSS page shell so we don't need this
-rw-r--r--views/rss/pageshells/pageshell.php46
1 files changed, 0 insertions, 46 deletions
diff --git a/views/rss/pageshells/pageshell.php b/views/rss/pageshells/pageshell.php
deleted file mode 100644
index 2dfc8917f..000000000
--- a/views/rss/pageshells/pageshell.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
- /**
- * Elgg RSS output pageshell
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @copyright Curverider Ltd 2008-2009
- * @link http://elgg.org/
- *
- */
-
- header("Content-Type: text/xml");
-
- echo "<?xml version='1.0'?>\n";
-
-
-
- // Set title
- if (empty($vars['title'])) {
- $title = $vars['config']->sitename;
- } else if (empty($vars['config']->sitename)) {
- $title = $vars['title'];
- } else {
- $title = $vars['config']->sitename . ": " . $vars['title'];
- }
-
- // Remove RSS from URL
- $url = str_replace('?view=rss','',full_url());
- $url = str_replace('&view=rss','',full_url());
-
-?>
-
-<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" <?php echo elgg_view('extensions/xmlns'); ?> >
- <channel>
- <title><![CDATA[<?php echo $title; ?>]]></title>
- <link><?php echo htmlentities($url); ?></link>
- <?php echo elgg_view('extensions/channel'); ?>
- <?php
-
- echo $vars['body'];
-
- ?>
- </channel>
-</rss> \ No newline at end of file