aboutsummaryrefslogtreecommitdiff
path: root/views/rss/page/shells
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 22:05:05 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 22:05:05 +0000
commit952e5eaef2359ff96f13e815ed2bed4bdd4697df (patch)
tree08ff8773829c2e306d61fa593985138a4b2d8c44 /views/rss/page/shells
parentdeb16667dd23d6219a56abeae1e3037ebb801d25 (diff)
downloadelgg-952e5eaef2359ff96f13e815ed2bed4bdd4697df.tar.gz
elgg-952e5eaef2359ff96f13e815ed2bed4bdd4697df.tar.bz2
Moved page/shells/* to page/*
git-svn-id: http://code.elgg.org/elgg/trunk@8428 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/rss/page/shells')
-rw-r--r--views/rss/page/shells/default.php41
1 files changed, 0 insertions, 41 deletions
diff --git a/views/rss/page/shells/default.php b/views/rss/page/shells/default.php
deleted file mode 100644
index da6f69c41..000000000
--- a/views/rss/page/shells/default.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-/**
- * Elgg RSS output pageshell
- *
- * @package Elgg
- * @subpackage Core
- *
- */
-
-header("Content-Type: text/xml");
-
-// allow caching as required by stupid MS products for https feeds.
-header('Pragma: public', TRUE);
-
-echo "<?xml version='1.0'?>\n";
-
-// Set title
-if (empty($vars['title'])) {
- $title = elgg_get_config('sitename');
-} else {
- $title = elgg_get_config('sitename') . ": " . $vars['title'];
-}
-
-// Remove RSS from URL
-$url = str_replace('?view=rss','', full_url());
-$url = str_replace('&view=rss','', $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>