diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-08 01:19:38 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-08 01:19:38 +0000 |
commit | d7adaddab7189bc493d22d96fec424aedca09b11 (patch) | |
tree | ebfd5c994083bed934bbd23fa403cadf778849fa /views/rss/page_shells/default.php | |
parent | e8380d051e50abec45b8ad3ed84ae57644b017d5 (diff) | |
download | elgg-d7adaddab7189bc493d22d96fec424aedca09b11.tar.gz elgg-d7adaddab7189bc493d22d96fec424aedca09b11.tar.bz2 |
reorganized the page views as discussed
git-svn-id: http://code.elgg.org/elgg/trunk@7559 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/rss/page_shells/default.php')
-rw-r--r-- | views/rss/page_shells/default.php | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/views/rss/page_shells/default.php b/views/rss/page_shells/default.php deleted file mode 100644 index 444fa99b5..000000000 --- a/views/rss/page_shells/default.php +++ /dev/null @@ -1,43 +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 = $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','', $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> |