aboutsummaryrefslogtreecommitdiff
path: root/views/rss/page/default.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-10-29 15:10:48 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-10-29 15:10:48 -0700
commit6971caddb2245bec34fd23927f6f093e5b28c1ea (patch)
treea8c78a2b8f79201e04696687ad095e81eeee1805 /views/rss/page/default.php
parent3e4641537ff66b7e634f83e7a3386df9273ec9ff (diff)
parent9046723db0c21cd0995ec87e69734bd1f0edcae6 (diff)
downloadelgg-6971caddb2245bec34fd23927f6f093e5b28c1ea.tar.gz
elgg-6971caddb2245bec34fd23927f6f093e5b28c1ea.tar.bz2
Merge branch 'master' of github.com:Elgg/Elgg
Diffstat (limited to 'views/rss/page/default.php')
-rw-r--r--views/rss/page/default.php17
1 files changed, 7 insertions, 10 deletions
diff --git a/views/rss/page/default.php b/views/rss/page/default.php
index cd94b0242..246ec972e 100644
--- a/views/rss/page/default.php
+++ b/views/rss/page/default.php
@@ -4,7 +4,6 @@
*
* @package Elgg
* @subpackage Core
- *
*/
header("Content-Type: text/xml");
@@ -12,7 +11,7 @@ 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";
+echo "<?xml version='1.0'?>";
// Set title
if (empty($vars['title'])) {
@@ -22,8 +21,8 @@ if (empty($vars['title'])) {
}
// Remove RSS from URL
-$url = str_replace('?view=rss','', full_url());
-$url = str_replace('&view=rss','', $url);
+$url = str_replace('?view=rss', '', full_url());
+$url = str_replace('&view=rss', '', $url);
?>
@@ -32,11 +31,9 @@ $url = str_replace('&view=rss','', $url);
<title><![CDATA[<?php echo $title; ?>]]></title>
<link><?php echo htmlentities($url); ?></link>
<description></description>
- <?php echo elgg_view('extensions/channel'); ?>
- <?php
-
- echo $vars['body'];
-
- ?>
+<?php
+ echo elgg_view('extensions/channel');
+ echo $vars['body'];
+?>
</channel>
</rss>