[Pmwiki-users] Searchbox conversion to Pmwiki2
Patrick R. Michaud
pmichaud
Tue Dec 7 08:40:25 CST 2004
On Tue, Dec 07, 2004 at 11:52:35AM +0000, Hans Bracker wrote:
> I like how the searchbox works here on John Rankin's site:
> http://intranet.affinity.co.nz/pmwiki2/index.php/Main/HomePage
> It uses good english, for instance:
> Search Results
> Results of searching 'Main' group for 'needle'.
> And:
> Search Results
> Results of searching all groups for 'needle'.
I like it too -- in fact, it even handles exclusive terms, as in
Results of searching 'Main' group for 'needle' not 'pin' not 'pine'.
But we've gone a little bit farther in searching from the V1 days--for
example, one can search the pages in a trail
(:searchresults trail=PmWiki.DocumentationIndex needle:)
or several groups
(:searchresults group=PmWiki|Main needle:)
and someday soon we may be doing categories
(:searchresults category=XYZ needle:)
and of course each of those can be filtered different ways to
include/exclude pages such as RecentChanges, GroupHeader, GroupFooter:
(:searchresults trail=PmWiki.DocumentationIndex needle list=all:)
(:searchresults group=PmWiki|Main needle list=all:)
(:searchresults category=XYZ needle list=all:)
So, coming up with the appropriate strings in each case is a bit
of a challenge. And, of course, we want all of the outputs to be
internationalizable (w/apologies to francophones):
R?sultats de la recherche compl?te dans le WikiTrail
'PmWiki.DocumentationIndex' pour 'needle' mais pas 'pin' ou 'pine'.
:-) :-)
I'm not saying it can't (or shouldn't) be done, I'm just saying that
it's going to be a bit of work to do it right. :-)
Pm
More information about the pmwiki-users
mailing list