aboutsummaryrefslogtreecommitdiff
path: root/views/xml/opensearch
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2010-05-25 07:39:47 -0400
committerCash Costello <cash.costello@gmail.com>2010-05-25 07:39:47 -0400
commitbfcd3e087980e48b5b908fd30cf2e9b1aa3726e4 (patch)
tree9dc3d2424902da2863c69bd6fe175c5ceb7a8003 /views/xml/opensearch
parenta19ccb50eed9be0aab45cb72ee367fb3cbd47ab2 (diff)
downloadelgg-bfcd3e087980e48b5b908fd30cf2e9b1aa3726e4.tar.gz
elgg-bfcd3e087980e48b5b908fd30cf2e9b1aa3726e4.tar.bz2
Updated the RSS for language file and added files missing from previous commits
Diffstat (limited to 'views/xml/opensearch')
-rw-r--r--views/xml/opensearch/description.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/xml/opensearch/description.php b/views/xml/opensearch/description.php
index f8eb0b040..a77701d46 100644
--- a/views/xml/opensearch/description.php
+++ b/views/xml/opensearch/description.php
@@ -16,7 +16,7 @@ extract($config);
$site = get_entity($CONFIG->site_guid);
$email = $site->email;
-$rss_url = "{$vars['url']}pg/opensearch/?q={searchTerms}&amp;pw={startPage?}&amp;format=rss";
+$rss_url = "{$vars['url']}pg/search/?q={searchTerms}&amp;view=opensearch_rss";
$html_url = "{$vars['url']}pg/search/?q={searchTerms}";
?>
@@ -27,8 +27,8 @@ $html_url = "{$vars['url']}pg/search/?q={searchTerms}";
<LongName><?php echo $longname; ?></LongName>
<?php endif; ?>
<Contact><?php echo $site->email; ?></Contact>
- <Url type="text/html" indexOffset="0" template="<?php echo $html_url; ?>"/>
- <Url type="application/rss+xml" indexOffset="0" template="<?php echo $rss_url; ?>"/>
+ <Url type="text/html" template="<?php echo $html_url; ?>"/>
+ <Url type="application/rss+xml" template="<?php echo $rss_url; ?>"/>
<?php if (isset($ico)): ?>
<Image height="16" width="16" type="image/vnd.microsoft.icon"><?php echo "{$vars['url']}$ico"; ?></Image>
<?php endif; ?>