aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {