[pmwiki-users] How to exclude only some pages from seraches

Neil Herber nospam at mail.eton.ca
Wed Feb 23 10:30:54 CST 2005


At 2005-02-23  10:03 AM -0600, Patrick R. Michaud is rumored to have said:

>On Wed, Feb 23, 2005 at 04:53:30PM +0100, Stefano wrote:
> > I reead about how to avoid search on an entire category, but i'm not
> > able to do the same only on some pages
>
>You mean you want to be able to exclude certain pages from the
>search results?  Yes, it can be done --
>
>    $SearchPatterns['default'][] = '!^MyGroup\\.ExcludeThisPage$!';
>
>excludes MyGroup.ExcludeThisPage from the default search.
>
>Pm

I have added a PITS entry http://www.pmwiki.org/wiki/PITS/00344 requesting 
some kind of search exclusion markup. I looked through the existing entries 
and could not find anything that seemed to match


Neil

Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668 




More information about the pmwiki-users mailing list