highlight matches + PHP + ?-suffix
"Michael Spiess" <[email protected]>
| Newsgroups | gmane.comp.web.perlfect-search |
|---|---|
| Message-ID | <[email protected]> |
Hi!
Thank you Daniel, PHP-wrapper and "exclude" is now working properly.
But with the new version 3.31b the "highlight match" is not any more
displayed for the URLs who have a ?-suffix e.g. /dir/myfile.php?navid=1
My conf.pl:
....
$HIGHLIGHT_MATCHES = 1;
@HIGHLIGHT_EXT = ("html", "htm","php");
....
My search.pl:
....
my $highlight_link = "";
if( $HIGHLIGHT_MATCHES && isHTML($url) && $HIGHLIGHT_TERMS{$lang} )
{ # TODO: solve this better...
$highlight_link = "(<a
href=\"http://www.my_path_to_the_wrapper.com/cgi-bin/perlfect/search/search.
pl?q=".my_uri_escape($q).
"&showurl=$show_url\">$HIGHLIGHT_TERMS{$lang}</a>)";
}
....
In version 3.30 I had no problems with PHP and ?-suffix.
Regards,
Michael
_______________________________________________
perlfect-search mailing list
[email protected]
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search