Re: highlight matches + PHP + ?-suffix

Daniel Naber <[email protected]>
Newsgroups gmane.comp.web.perlfect-search
Message-ID <[email protected]>
On Monday 24 March 2003 17:30, Michael Spiess wrote:

> thanks for your quick response - but it seems to be more complicated. I
> know that it is possible to exclude single files but in that case the
> root-URL is indexed - without the "index.php".

You will have to change answer_query() in search.pl. Either add another 
next if(...) case for the homepage file, or modify the regular expression 
so that they contain start and end markers, e.g. ... =~ 
m/^$exclude_exp$/i. Then you can exclude single files. To exclude more 
files, you will then have to add ".*", e.g. "/de/.*".

Regards
 Daniel

-- 
http://www.danielnaber.de

_______________________________________________
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

lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.