aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/header.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-08 10:37:30 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-08 10:37:30 +0000
commit16a9991203f407d0329b4055905cb6970a6cc687 (patch)
tree71548a30d47ec3592f6ffc269fd123d1f5c846ea /views/default/page_elements/header.php
parent2e6ef13c2cd47e5971252cc450893a14b15b01bc (diff)
downloadelgg-16a9991203f407d0329b4055905cb6970a6cc687.tar.gz
elgg-16a9991203f407d0329b4055905cb6970a6cc687.tar.bz2
OpenDD autodiscovery header
git-svn-id: https://code.elgg.org/elgg/trunk@1332 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements/header.php')
-rw-r--r--views/default/page_elements/header.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php
index 53f6285fb..6d9b826d4 100644
--- a/views/default/page_elements/header.php
+++ b/views/default/page_elements/header.php
@@ -28,15 +28,21 @@
global $autofeed;
if (isset($autofeed) && $autofeed == true) {
- $url = full_url();
+ $url = $url2 = full_url();
if (substr_count($url,'?')) {
$url .= "&view=rss";
} else {
$url .= "?view=rss";
}
+ if (substr_count($url2,'?')) {
+ $url2 .= "&view=odd";
+ } else {
+ $url2 .= "?view=odd";
+ }
$feedref = <<<END
<link rel="alternate" type="application/rss+xml" title="RSS" href="{$url}" />
+ <link rel="alternate" type="application/odd+xml" title="OpenDD" href="{$url2}" />
END;
} else {