4 function match_content(&$a) {
9 $r = q("SELECT `pub_keywords`, `prv_keywords` FROM `profile` WHERE `is-default` = 1 AND `uid` = %d LIMIT 1",
14 if(! $r[0]['pub_keywords'] && (! $r[0]['prv_keywords'])) {
15 notice('No keywords to match. Please add keywords to your default profile.');
21 $tags = trim($r[0]['pub_keywords'] . ' ' . $r[0]['prv_keywords']);
26 $x = post_url('http://dir.friendika.com/msearch', $params);
33 $o .= '<a href="' . $jj->url . '">' . '<img src="' . $jj->photo . '" alt="' . $jj->name . '" />' . $jj->name . '</a>';
37 notice( t('No matches') . EOL);