]> git.mxchange.org Git - friendica.git/blob - mod/opensearch.php
Merge pull request #3149 from annando/1601-new-diaspora-mention
[friendica.git] / mod / opensearch.php
1 <?php
2     function opensearch_content(App $a) {
3
4                 $tpl = get_markup_template('opensearch.tpl');
5
6                 header("Content-type: application/opensearchdescription+xml");
7
8                 $o = replace_macros($tpl, array(
9                         '$baseurl' => App::get_baseurl(),
10                         '$nodename' => $a->get_hostname(),
11                 ));
12
13                 echo $o;
14
15                 killme();
16
17         }
18 ?>