3 // Parse search query and send it to the search functions
5 global $search_exclusions;
7 if (isset($parameter)) {
10 $displaytag = htmlspecialchars($parameter, ENT_COMPAT
, 'utf-8');
12 $url = url
. "tag/" . $displaytag;
13 $rssurl = url
. "rsstag/" . $displaytag;
16 $searchdesc = sprintf(__gettext("Items tagged with \"%s\" from %s"),$displaytag,$sitename);
18 $run_result .= <<< END
19 <?xml
-stylesheet type
="text/xsl" href
="{$rssurl}/rssstyles.xsl"?
>
22 <title
>$sitename :: $displaytag</title
>
24 <description
>$searchdesc</description
>
27 foreach($data['search:tagtypes'] as $tagtype) {
29 if (!isset($search_exclusions) ||
!in_array($tagtype,$search_exclusions)) {
30 $run_result .= run("search:display_results:rss", array($tagtype,$tag));
35 $run_result .= <<< END