]> git.mxchange.org Git - friendica.git/blob - mod/opensearch.php
Merge branch 'develop' into rewrites/dbm_is_result
[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 ?>