]> git.mxchange.org Git - friendica.git/blob - mod/opensearch.php
if no FB image and fb link is on our site, use Friendika logo for fb image. Otherwise...
[friendica.git] / mod / opensearch.php
1 <?php
2     function opensearch_content(&$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' => $a->get_baseurl(),
10                         '$nodename' => $a->get_hostname(),
11                 ));
12                 
13                 echo $o;
14                 
15                 killme();
16                 
17         }
18 ?>